#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);
}
Right. [clears throat] So yeah, it's 12 a.m. in the night and I have been done with my work uh from everything and I wanted to share an ...
No comments:
Post a Comment