famouscoder
Wednesday, May 6, 2020
URI 1009 - Salary with Bonus
#include<stdio.h>
#include<math.h>
int main()
{
char name[30];
double S,P,E;
gets(name);
scanf("%lf%lf",&S,&P);
E=S+(P*15)/100;
printf("TOTAL = R$ %.2lf\n",E);
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment