0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-25 21:34:59 +00:00
OI-codes/AcWing/660/660.cpp

13 lines
244 B
C++

#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;
}