Advertisement
Raddia_Akter_Hride

problem_4

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