#include
void main()
{
char g,m,f;
float bs,tax;
printf("enter gender");
scanf("%c",&g);
printf("enter basic salary");
scanf("%f",&bs);
if(g==m)
{
if(g==f)
{
printf("gender is female");
tax=(40.0*bs)/100.0;
}
else
{
printf("gender is male");
tax=(20.0*bs)/100.0;
}
}
printf("tax=%f",tax);
}
1 comment:
Your work is carry the information to the other people. There is no question against your interesting blog. I am waiting you give me a more interested information
PIC Claim
Post a Comment