文具店的折扣
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
【问题描述】
花花去文具店买了 1 支笔和 1 块橡皮,已知笔 x元/ 支,橡皮 y 元 / 块,文具店今天有活动,可以给顾客打 9 折(用购买总价 ×0.9 ),花花付给了老板n 元,请问老板应该找给花花多少钱
【输入格式】
三个整数 x、y、n ,分别代表了笔的单价、橡皮的单价和花花付给老板的钱(已知花花付给老板的钱 n≥x+y)。
【输出格式】
一个小数(保留 1 位小数),代表老板应该找给花花的钱。
【样例数据】
2 1 5
2.3
少科院七年级第2次课——小数运算
- Status
- Done
- Problem
- 15
- Open Since
- 2025-12-14 0:00
- Deadline
- 2025-12-27 23:59
- Extension
- 24 hour(s)