C program to test whether the supplied number is positive, negative or zero

C program to test whether the supplied number is positive, negative or zero
Answer:
#include<stdio.h>
int main()
{
int num;
printf("Enter any number");
scanf("%d",&num);
if(num>0)
    printf("Positive number");
else if(num<0)
    printf("Negative number");
else
    printf("Zero");
return 0;
}