mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-05 02:26:26 +00:00
13 lines
244 B
C++
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;
|
|
}
|