Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedimage text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Object Databases The Essentials

Authors: Mary E. S. Loomis

1st Edition

020156341X, 978-0201563412

More Books

Students also viewed these Databases questions

Question

Provide examples of Dimensional Tables.

Answered: 1 week ago