Advertisement
Kawsar_Hossain

problem_4

May 22nd, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.26 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement