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