Question: Question: Write a program named Exercise 4 . cpp , which displays the numbers of bills ( 1 $ , 5 $ , 1 0

Question: Write a program named Exercise4.cpp, which displays the numbers of bills (1 $,5$,10$, and 20$) when a user inputs the total amount of dollar ($) as an integer. We don't use 100$,50$ or 2$ bills in this case. For example, when the input is 289, the program displays below. Each line has 12 spaces. Make sure that your program MUST display 12*(asterisk) symbols in the after-input and last lines, and 12-(miType one integer here.
28920$14
10$: 0
5$1
1$4
Bills: 19
***************************nus) symbols before the Total line. Otherwise, 0 point is given. I have a working code but im having trouble formatting the final output, this is how its supposed to look(each line has 12 spaces):
Question: Write a program named Exercise 4 . cpp

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!