33./*Write a program to input your Qualification ,
Experience , Age and find out you are Eleigibal or not*/
#include<stdio.h>
#include<conio.h>
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