Advertisement
Umme_nishat

problem-3

May 26th, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int a;
  5.     scanf("%d", &a);
  6.     if(a>0)
  7.         printf("Positive\n");
  8.     else if(a<0)
  9.         printf("Negative\n");
  10.     else
  11.         printf("The number is zero\n");
  12.     return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement