Advertisement
sathi_talukder

Untitled

Feb 21st, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. int main()
  2. {
  3. int num;
  4. printf("Enter any number: ");
  5. scanf("%d", &num);
  6. if(num > 0)
  7. {
  8. printf("Number is POSITIVE");
  9. }
  10. if(num < 0)
  11. {
  12. printf("Number is NEGATIVE");
  13. }
  14. if(num == 0)
  15. {
  16. printf("Number is ZERO");
  17. }
  18.  
  19. return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement