#include <stdio.h>
int main()
{
char fever,cough;
printf("Do you have fever? ans in(y/n):");
scanf("%s",&fever);
printf("Do you have cough? ans in(y/n):");
scanf("%s",&cough);
if((fever=='y')&&(cough=='y'))
{
printf("you should see doctor.");
}
else if((fever=='y') && (cough=='n'))
{
printf("Take paracetamol.if you dont feel comfortable then you must see to doctor.");
}
else if((fever=='n') && (cough=='y'))
{
printf(" take sinarest.if you dont feel comfortable then you must see to doctor.");
}
else if((fever=='n') &&(cough=='n'))
{
printf("you are healthy");
}
else
{
printf("input right kyword");
}
}