#include
void main()
{
int a;
clrscr();
printf("\n\t Enter the any number less than 10\t:\t");
scanf("%d",&a);
if(a<=10)
printf("\n\t\t You are a good student");
if(a>=10)
printf("\n\t\t You are a very bad student");
printf("\n\n\t Enter the any number less than 10\t:\t");
scanf("%d",&a);
if(a<=10)
printf("\n\t\t You are a good student");
if(a>=10)
printf("\n\t\t You are a very bad student");
getch();
}
No comments:
Post a Comment