Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- int n;
- scanf("%d", &n);
- if(n%5==0 && n%11==0){
- printf("This number is divisible by both 5 and 11\n");
- }
- else {
- printf("This number is not divisible by both 5 & 11\n");
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement