Question: Instructions: Please create a C++ program to solve the following problem. Submit electronic (Canvas Dropbox) copies of your program source code and two or more

 Instructions: Please create a C++ program to solve the following problem.

Instructions: Please create a C++ program to solve the following problem. Submit electronic (Canvas Dropbox) copies of your program source code and two or more sample runs to me by the deadline. Late submissions will not be accepted. Documentation requirements follow the problem specification. 1. Write a C++ program that processes a customer's order for tickets to a Phillies game. The program begins by welcoming the customer to Citizens Bank Park. It then prompts the customer to select a game to attend from a menu of 4 options. If the customer enters an invalid choice, the program displays an error message, then prompts the customer to enter a valid choice until s/he does so. The program next prompts the customer to select a seating location from a second menu of 4 options. As before, if the customer enters an invalid choice, the program displays an error message, then prompts the customer to enter a valid choice until s/he does so. Finally, the program asks the customer to specify how many tickets s/he wishes to purchase. If the customer enters 0 (zero) or a negative number, the program again displays an error message and prompts the customer to enter a valid number until s/he does so. Once all input has been validated, the program calculates the total cost of the tickets and displays it as currency (preceded by a dollar sign and rounded to two decimal places). The program ends by thanking the customer for his/her purchase. As usual, your program output should resemble the sample runs at the end of this document. References: Chapter 5.3 -Using the while Loop for Input Validation (Program Pr5-5.cpp demonstrates using a while loop for input validation.)

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!