![]() |
|
#1
|
|||
|
|||
newbie helpI have just started to learn programming and i got this assignement. Please help
Write an interactive C++ program that determines the fewest of each money denomination required to make change using dollars, half dollars, quarters, dimes, nickels, and pennies. You must follow C++ standard. INPUT : From the keyboard, name of the user and an integer representing the number of cents entered interactively. OUTPUT : Display on the screen, the name of the user, the value of each denomination labeled For an input of 299 (cents) the output should be: Example : Please type your name: John Hello, John, Let’s compute the value of your change 2 dollars 1 half dollars 1 quarters 2 dimes 0 nickels 4 pennies |
|||
|
#2
|
|||
|
|||
Try this.Try this code:
CPP / C++ / C Code:
|
Recent GIDBlog
Vista ?Widgets? on Windows XP by LocalTech
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Linux] Top newbie questions. | JdS | Computer Software Forum - Linux | 3 | 22-Jan-2004 12:00 |
| total newbie need help | grunt123 | Apache Web Server Forum | 2 | 04-Dec-2003 11:14 |
| Newbie help, please | Random | C++ Forum | 2 | 02-Dec-2003 12:05 |
| newbie with stupid questions | JUNK KED | MySQL / PHP Forum | 1 | 16-Oct-2003 08:58 |
| Code problem (a newbie question) | monkster87 | C++ Forum | 3 | 11-Aug-2003 12:46 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The