#include
main()
{
char q,e,s;
int age;
clrscr();
scanf("Qualification=%c",&q);
scanf("Experiance=%cSex=%c",&e,&s);
scanf("Age=%d",&age);
if(q=='m' && e<=10 && age<=40 && s=='m')
printf("Eleigibal");
else
if(q=='m' && e<=10 && age<=40 && s=='f')
printf("Eleigibal");
else
printf("Not eleigibal");
getch();
}
No comments:
Post a Comment