mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-23 23:08:47 +00:00
610. 工资和奖金
https://www.acwing.com/problem/content/submission/code_detail/6861792/
This commit is contained in:
parent
d25d1877a5
commit
0e8b37a556
11
AcWing/610/610.cpp
Normal file
11
AcWing/610/610.cpp
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#include <bits/stdc++.h>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
string s;
|
||||||
|
double a, b;
|
||||||
|
cin >> s >> a >> b;
|
||||||
|
cout << "TOTAL = R$ " << fixed << setprecision(2) << a + 0.15 * b << endl;
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user