#include <stdio.h>
#include <conio.h>
char _positive(int num)
{
if(num<0)
{
printf("Number is -ve.");
}
else if(num>0)
{
printf("Number is +ve.");
}
else
{
printf("Number is -ve nor +ve.");
}
}
main()
{
int num;
printf("Enter a number: ");
scanf("%d", &num);
printf("%c", _positive(num));
getch();
}