Advertisement
Istanvir389

Divided by 5

Jul 21st, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int a;
  5. printf("Enter the value of a== ");
  6. scanf("%d",&a);
  7. if(a%5==0)
  8.  
  9. printf("The number can be divided by 5");
  10.  
  11. else
  12.  
  13. printf("The number can't be divided by 5");
  14.  
  15. return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement