#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);
}
https://www.youtube.com/watch?v=QJKdeGmDXdI Hi. So, a very happy Diwali to everyone out there. And like tomorrow it's going to be a Gu...
No comments:
Post a Comment