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

PROGRAMMING:Taobao shopping

Luz5年前 (2021-05-10)题库491
Recently, Taobao has entered the off-season of sales. In order to stimulate the purchase desire of netizens, a special discount scheme has been introduced: the price of a commodity is V, and if the number of customers shopping is greater than or equal to 1000, 20% discount will be given; If the number of purchases is greater than or equal to 100, 10% discount will be given; If the number of shopping is less than 100, there is no discount. Is Shao a poor man? Silk, in this promotion, I bought M pieces of goods at the price of V. come and help him figure out how much he needs to pay.
###Input format:
Enter a floating-point number V and a positive integer M. V is the price of goods, M is the number of goods purchased.
###Output format:
Output the final price. Keep one decimal place.
###Input example:
```in
5.6 1000
```
###Output example:
```out
four thousand four hundred and eighty
```







answer:If there is no answer, please comment