Question: Need help with a few simple C++ programs asap, thanks! Change maker. Write a program to simulate operation of a cash register: your program will

Need help with a few simple C++ programs asap, thanks! Need help with a few simple C++ programs asap, thanks! Change maker.

Change maker. Write a program to simulate operation of a cash register: your program will prompt the user for the total cost of the purchase and the amount tendered (how much money the customer gives); then it will display the amount of change as well as how many dollar bills, quarters, dimes, nickels, and pennies should be given in change. Display this information in a we 11-formatted table. Dice game. Write a program that plays a simple dice game with the user. First, the computer rolls two dice and displays the result (e.g. "6 and 2"). The user is then asked to decide whether they bet high or low; two dice are rolled again and the user wins, loses, or ties based on what they chose and how the new roll compares to the old. (For example, if the first roll was 6/2, the user chose high, and the next roll is 3/4, the user loses because 7 is not higher than 8.) C++ Warriors. In a certain video game, your score at the end of a level is based on three numbers: how many enemies you KOed, how much damage you took, and how long it took to complete the level. In each of the three categories you can earn an A, B, or C rank, and there is also an overall rank based on an average of the three. Write a program that prompts the user to enter their number of KOs, damage, and time taken (in "minutes:second" form, e.g. "12:37") and displays the rank in each category as well as the overall rank in a table. To decide ranks: Enemies KOed: an A rank requires at least 1500 KOs; a B rank is awarded if there were fewer than 1500 but at least 1000; otherwise it is a C rank. Damage taken: A rank requires less than 1000 damage taken; B rank is at least 1000 but less than 3000; C rank otherwise, o Time taken: A rank if less than 15 minutes; B rank if more than 15 minutes but less than 25; C rank otherwise, o Overall rank: compute the average of the three category ranks (with A being 1, B being 2, and C being 3), rounded down

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 Databases Questions!