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

PROGRAMMING:Discount

Luz5年前 (2021-05-10)题库393
When you go shopping to find discount goods, it's hard to calculate the price after the discount. For example, if the original price is ¥ 988, indicating a 7% discount, the discount price should be ¥ 988 x 70% = ¥ 691.60. Please write a program to calculate the discount price for customers.
###Input format:
Enter the original price (a positive integer of no more than 10000 yuan) and discount (an integer in the range of [1,9]) of the given goods in one line, separated by spaces.
###Output format:
Output the discount price of the product in one line, with 2 decimal places reserved.
###Input example:
```in
988 7
```
###Output example:
```out
six hundred and ninety-one point six zero
```







answer:If there is no answer, please comment