Question: NEED HELP WITH THE CODE IN C++ Questions #2: Harry Potter's magic money (6 pts) Wizarding money is the money used in Happy Potter universe.



NEED HELP WITH THE CODE IN C++
Questions #2: Harry Potter's magic money (6 pts) Wizarding money is the money used in Happy Potter universe. "It comes in coins only which wizards keep in a money pouch that they typically hang off their belts, under their robes." It "comes in three denominations: bronze Knuts, silver Sickles, and golden Galleons. 29 Knuts make up one Sickle, and there are 17 Sickles in a Galleon." 19 Write a C++ program that https:/picclick.com/Harry-Potter-Coins-Grin Galleonl-Sickle1-252545905801.html prompts the user for the number of Knuts, Sickles and Galleons Galleonl-Sicklel and reports back how many Knuts that corresponds to. then asks the user for the number of Knuts and reports back the corresponding number of Galleoan, Sickels and Knuts using the least number of coins. Following are 2 sample screen shots to illustrate the expected behavior of your program. User input at the keyboard is marked with a red circle integer. . Assume a perfect user who will always enter a positive Note: Your program must display the same information but can be formatted differently. CAWindowslsystem32\cmd.exe Welcome to Harry Potter's Universe ow many Galleons. Sickles and Knuts do you want to convert to Knuts? 10 5 3 0 Galleons. 5 Sickles. and 5 corresponds to 5078 Knuts OK-let's do it the other way now How many Knuts do you want to convert? 5078 5era Rnuts corres ponds to icalleons. ickles. and 3 Knuts You are now ready to go vacation in Happy Potter's Universe! Figure 2-Sample output #1 for Question 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
