#include<stdio.h>
#include<conio.h>
void main()
{
int n;
clrscr();
printf("\n enter any number:\n");
scanf("%d",&n);
if(n>=0)
printf("\n number is +ve");
else
printf("\n -ve");
getch();
}
#include<conio.h>
void main()
{
int n;
clrscr();
printf("\n enter any number:\n");
scanf("%d",&n);
if(n>=0)
printf("\n number is +ve");
else
printf("\n -ve");
getch();
}
No comments:
Post a Comment