#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);
}
Hi. So, uh very happy friends day to all the lovely friends out there. Um I know like today it's a bit difficult when we say friends an...
No comments:
Post a Comment