Advertisement
Guest User

Untitled

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