`
include [HTML_REMOVED]
using namespace std;
int main()
{
int x, y;
cin >> x >> y;
switch (x) {
case 1:
printf("Total: R$ %.2lf\n", 4.0*y);
break;
case 2:
printf("Total: R$ %.2lf\n", 4.50*y);
break;
case 3:
printf("Total: R$ %.2lf\n", 5.0*y);
break;
case 4:
printf("Total: R$ %.2lf\n", 2.0*y);
break;
case 5:
printf("Total: R$ %.2lf\n", 1.5*y);
break;
default: break;
}
return 0;
}
`
markdown忘加三个点了 兄弟