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

PROGRAMMING:Amount in figures to words

Luz5年前 (2021-05-10)题库434
Programming to achieve the following functions: from the keyboard input a small amount of decimal (integer part does not exceed 7 digits), it will be converted into Chinese capital amount, and finally output the result.
###Input format:
Enter a small amount containing decimals (the integer part does not exceed 7 digits and the decimal part does not exceed 2 digits).
###Output format:
The amount is capitalized in Chinese characters, and the last line is new.
###Input example:
```in
one hundred and twenty-three point four five
```
###Output example:
```out
One hundred and twenty-three yuan and forty-five cents
```







answer:If there is no answer, please comment