C++ Programming Help!

Status
Not open for further replies.

epoon317@gmail.

Junior Member
Mar 4, 2013
1
0
0
Please build this program for me so I can dissect it and study each line!

Write a C++ program to calculate the fewest number of each denomination needed to pay a bill of amount TOTAL. For example, if the end user enters $97 for TOTAL, program will output that the bills would consist of one $50 bill, two $20 bills, one $5 bill, and two $1 bills. (Assume that the amount is in whole dollars, no cents, and only $100, $50, $20, $10, $5, and $1 denominations are available.) Aid: You may want to use the modulus operator %.

Sigh. If you want help with an assignment, first try it yourself, then think about your results and develop some intelligent questions to help clarify your mistakes. Once you have done that, feel free to post the most challenging of those questions here. We'll be glad to help.

Markbnj
Programming mod
 
Last edited by a moderator:
Status
Not open for further replies.