工资和奖金

This commit is contained in:
flykhan 2023-03-30 16:25:46 +08:00
parent cb6e3749ee
commit 1b88461434
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#include <cstdio>
int main()
{
char name[10];
double a, b;
scanf("%s%lf%lf", &name, &a, &b);
printf("TOTAL = R$ %.2lf\n", a + b * 0.15);
return 0;
}