Write a program to know that number is positive or negative using function

// using function to know that no is positive or no

#include <stdio.h>
#include <conio.h>
void _positive(int n)
{
if(n<0)
{
printf(“num is negative.”);
}
else if(n>0)
{
printf(“num is positive.”);
}
else
{
printf(“num is negative nor positive.”);
}
}
main()
{
int a;
printf(“enter the integer:”);
scanf(“%d”, &a);
_positive(a);
getch();
return 0;
}