简单计算
This commit is contained in:
parent
d54496f0d7
commit
af56d2a251
|
@ -0,0 +1,11 @@
|
|||
#include <cstdio>
|
||||
|
||||
int main()
|
||||
{
|
||||
int a, b, d, e;
|
||||
double c, f;
|
||||
scanf("%d%d%lf", &a, &b, &c);
|
||||
scanf("%d%d%lf", &d, &e, &f);
|
||||
printf("VALOR A PAGAR: R$ %.2lf\n", b * c + e * f);
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue