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

PROGRAMMING:Calculating money

Luz5年前 (2021-05-10)题库456
Write a program to read the double value of the total amount entered by the user, print the minimum number of banknotes and coins required to represent the amount, and print from the maximum amount. There are ten yuan, five yuan and one yuan in banknotes, and five jiao, one jiao, two Fen and one Fen in coins.
###Input format:
forty-seven point six three
###Output format:
```
Four ten yuan
One five yuan
2 Zhang Yiyuan
One Pentagon
One corner
One two
One point for one
```
###Input example:
Here is a set of inputs. For example:
```in
forty-seven point six three
```
###Output example:
The corresponding output is given here. For example:
```out
Four ten yuan
One five yuan
2 Zhang Yiyuan
One Pentagon
One corner
One two
One point for one
```







answer:If there is no answer, please comment