Advertisement
zfhridoy47

problem_3

May 24th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.30 KB | None | 0 0
  1. #include<stdio.h>
  2.  
  3. int main ()
  4.  
  5. {
  6.     int a;
  7.  
  8.     printf("Enter A Number : ");
  9.     scanf("%d",&a);
  10.  
  11.     if(a > 0){
  12.         printf("Positive Number\n");
  13.     }
  14.  
  15.     else if(a < 0){
  16.         printf("Negative Number\n");
  17.     }
  18.  
  19.     else {
  20.         printf("Zero \n");
  21.     }
  22.  
  23.     return 0;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement