Advertisement
mujahidul_islam

Problem 4

May 26th, 2019
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.24 KB | None | 0 0
  1.  
  2.  
  3. #include<stdio.h>
  4. int main ()
  5. {
  6.     int a;
  7.     scanf("%d",&a);
  8.     if(a%5==0 && a%11==0)
  9.         printf("number is divisible by five and eleven");
  10.     else printf("the number is not divisible by five and eleven");
  11.     return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement