SHARE
TWEET

problem_4

Kawsar_Hossain May 22nd, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Problem-4
  2. #include<stdio.h>
  3. int main()
  4. {
  5.     int a;
  6.     scanf("%d", &a);
  7.     if(a%5==0 && a%11==0)
  8.         printf("The number is divisible by both 5 & 11\n");
  9.     else
  10.         printf("The number is not divisible by both 5 & 11\n");
  11.     return 0;
  12. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top