Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Project 1 (Chapters 1, 2, and 3 ) Write a C++ program for a museum and show the bill for the cashier. Here is the
Project 1 (Chapters 1, 2, and 3 ) Write a C++ program for a museum and show the bill for the cashier. Here is the pricing: All groups with more than 25 people or 10 or more children must pay a $15.00 security fee. Add the security fee to the total bill. Only display the security fee if it's not zero. Write a program that prompts the user to enter adults and children, calculate and show a bill for the group. Your program should show the total number of tickets as well. After showing the total bill, prompt the user to enter the cash received and find the change. Your program should verify that the cash entered is enough to pay the bill. If it is not, display a message and request the cash again. You should use a pretest while loop, so the program executes until the user enters 1 for the child ticket value. Add a confirmation number to the receipt. The first number should be 100 and then add 1 for each new receipt. Here is a sample display after entering 1 group with 12 children and 5 adults
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started