Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int num;
- printf("Enter any number: ");
- scanf("%d", &num);
- if(num > 0)
- {
- printf("Number is POSITIVE");
- }
- if(num < 0)
- {
- printf("Number is NEGATIVE");
- }
- if(num == 0)
- {
- printf("Number is ZERO");
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement