#include<stdio.h>
#include<conio.h>
void main()
{
int num;
clrscr();
printf("\n enter the value of num");
scanf("\n %d", &num);
if(num>0)
{
printf("\n number is positive");
}
else
{
printf("\n number is negative");
}
getch();
}
#include<conio.h>
void main()
{
int num;
clrscr();
printf("\n enter the value of num");
scanf("\n %d", &num);
if(num>0)
{
printf("\n number is positive");
}
else
{
printf("\n number is negative");
}
getch();
}