-->
当前位置:首页 > 题库

PROGRAMMING:Selection and discount of assault suit

Luz5年前 (2021-05-10)题库430
It is known that a certain e-commerce company of a certain club is going to launch a preferential activity in Shuang 12. The plan is as follows:
|Article No. | unit price|
| -------- | -------- |
| DG110013 | 812 |
|DG110018|879|
|DG110004|735|
|DG120002|649|
At 899 minus 50, at 599 minus 30.
It is required to input the complete product number and quantity and output the total price (with two decimal places reserved).
If the product number is input incorrectly, error will be output!
###Input format:
DG110013,2
###Output format:
one thousand five hundred and seventy-four
###Input example:
Here is a set of inputs. For example:
```in
DG120002,1
```
###Output example:
The corresponding output is given here. For example:
```out
six hundred and nineteen
```







answer:If there is no answer, please comment