daily pastebin goal
68%
SHARE
TWEET

Wether Negative, Positive, Zero

a guest May 17th, 2018 105 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     double A, B;
  5.     scanf("%lf", &A);
  6.     if(A==0)
  7.     {
  8.         printf("There is Zero Number");
  9.     }
  10.     else if(A>0)
  11.     {
  12.         printf("There is Positive Number");
  13.     }
  14.     else
  15.     {
  16.         printf("There is Negative Number");
  17.     }
  18.  
  19.     return 0;
  20. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top