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

PROGRAMMING:A plan to give customers change

Luz5年前 (2021-05-10)题库469
This is a programming problem. Title: this topic requires mastering the integer division and remainder operation in numerical operation, and mastering the method of input and output.
The store needs to change money for customers. Now there are enough sheets, with the face value of 50 yuan, 5 yuan and 1 yuan respectively. Enter an integer value to give the change scheme, assuming that there are enough RMB, and the coins with large denomination are preferred.
###Input format:
Please write the input format here. For example, enter a positive integer with a value of no more than 1000 in one line.
###Output format:
Please describe the output format here. For example: output the required values for various face values.
###Input example:
Here is an input example. Example: 283
```in
1-1000
```
###Output example:
The corresponding output is given here. For example:
```out
50 yuan Denomination: 5 sheets
Number of sheets required for 5 yuan Denomination: 6
Number of sheets required for 1 yuan Denomination: 3
```







answer:If there is no answer, please comment