0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-27 13:56:26 +00:00
Baoshuo Ren 2021-08-01 21:45:29 +08:00 committed by Baoshuo Ren
parent 3f22ebe950
commit 021c141451
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

12
AcWing/660/660.cpp Normal file
View File

@ -0,0 +1,12 @@
#include <bits/stdc++.h>
using namespace std;
double price[] = {0.00, 4.00, 4.50, 5.00, 2.00, 1.50};
int main() {
int x, y;
cin >> x >> y;
cout << "Total: R$ " << fixed << setprecision(2) << price[x] * y << endl;
return 0;
}