Advertisement
Malware_N

T1 P3 divisible or not(and)

Feb 18th, 2020
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.18 KB | None | 0 0
  1. #include<stdio.h>
  2. main()
  3. {
  4.     int a;
  5.     scanf("%d",&a);
  6.     if(a%7==0 && a%19==0)
  7.     {
  8.         printf("Yes\n");
  9.     }
  10.     else
  11.     {
  12.         printf("No\n");
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement