C program to read a number and check if it is a positive, negative number or zero.
Solution:
Output:

Solution:
#include <stdio.h>
int main()
{
int n;
printf("Enter Any Number : ");
scanf("%d", &n);
if(n > 0)
{
printf("\n%d is POSITIVE Number",n);
}
else if(n < 0)
{
printf("\n%d is NEGATIVE Number",n);
}
else
{
printf("\nEntered number is ZERO");
}
return 0;
}
Output:



