Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Problem-3
- #include<stdio.h>
- int main()
- {
- int a;
- scanf("%d", &a);
- if(a>0)
- printf("The number is positive\n");
- else if(a<0)
- printf("The number is negative\n");
- else
- printf("The number is zero\n");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement