#include <stdio.h>
int main()
{
float s;
char g;
printf("Enter salary & grade:");
scanf("%f %c",&s,&g);
if(g=='A')
{
s=s*2;
}
else
{
s=s*1.5;
}
printf("Net Salary=%.2f",s);
}
Hello everyone, on this special occassion of fathers day today, I would like to wish every lovely, striving fathers out there a very happy ...
No comments:
Post a Comment