SHARE
TWEET

Untitled

a guest Jun 18th, 2019 52 in 149 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<stdio.h>
  2. int main(void)
  3. {
  4.     int number;
  5.     printf("Enter the number\n");
  6.     scanf("%d",&number);
  7.  
  8.     if(number%5==0) {
  9.         if(number%10==0) {
  10.             printf("the number is divisible by 5 and 10\n");
  11.         }
  12.         else {
  13.             printf("not divisible by 5 and 10");
  14.         }
  15.     }
  16.     else {
  17.         printf("not divisible by 5 and 10");
  18.     }
  19.     return 0;
  20. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top