void main ()
{
int a;
clrscr ();
printf ("Enter the value of A: ");
scanf("%d",&a);
if (a>=0)
printf ("Number is Positive");
}
else
printf("Number is Negative");
getch ();
No comments:
Post a Comment