Advertisement
sathi_talukder

Untitled

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