#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);
}
How to Combat Overthinking or Negative Thoughts? 1. Don’t Fight Your Thoughts Trying to suppress or control negative thoughts often backfire...
No comments:
Post a Comment