void main()
{
int a;
clrscr();
printf("Enter the Value of a :");
scanf("%d",&a);
if(a>0)
{
printf("a is Positive");
}
else if(a==0)
{
printf("a is Zero");
}
else
{
printf("a is Nagative");
}
getch();
}
By Dinesh Thakur
void main()
{
int a;
clrscr();
printf("Enter the Value of a :");
scanf("%d",&a);
if(a>0)
{
printf("a is Positive");
}
else if(a==0)
{
printf("a is Zero");
}
else
{
printf("a is Nagative");
}
getch();
}
Dinesh Thakur is a Freelance Writer who helps different clients from all over the globe. Dinesh has written over 500+ blogs, 30+ eBooks, and 10000+ Posts for all types of clients.
For any type of query or something that you think is missing, please feel free to Contact us.