C : Program to find number is Positive , Negative or Zero
Nov 29, 2023
#include <stdio.h>
int main()
{
int num;
printf("Enter the number :");
scanf("%d", &num);
if(num > 0)
{
printf("%d is the positive number.");
}
else if(num < 0)
{
printf("%d is the negative number.");
}
else if(num == 0)
{
printf("%d is the zero.");
}
return 0;
}