0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-23 23:28:48 +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;
}