Program to decide whether a given number is positive, negative or zero number.

Here, user will input a number and program will assign it in variable 'a' using scanf. After that, the value inside variable is checked, whether it is greater than 0 or not and if it is greater than 0 then inputted number is positive and if it is less than 0, the inputted number is negative. But if these two condition is not satisfied then the inputted number must be equal to 0. 

Output


 





Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.