Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

c++ Write a program that calculates and prints the bill for an outdoor cinema. There are two plans: Seat Type Indudes seat plus food and

c++ image text in transcribed
Write a program that calculates and prints the bill for an outdoor cinema. There are two plans: Seat Type Indudes seat plus food and drink pack Weekday Ticket Sunday to Wednesday Weekend Ticket Thursday to Saturday VIP 300 AED 350 AED Standard 130 AED 150 AED 1 11 IV. Ask the user to login into his account by entering his/her account number. A valid account number must contain 4 digits. If the user inputs an invalid account number the user must re-enter the account Ask the user to enter a seat type (The user will enter v or V for VIP seat and s or S for Standard service). Any invalid input must be corrected by asking the user to re-enter Ask the user to enter d'or 'D' for a weekday and 'e' or 'E for a weekend Ask the user if he/she would like to add food or drinks from the menu by entering "Y" for yes and "n" for no a) An additional 70 AED will be paid for additional food and drink pack. Print all the entered details to the screen. Calculate the amount due and print it to the screen Sample Run: Y. vi Welcome to our bill calculator for outdoor cinema. Please enter the Account Number: 46472 *Incorrect! Please enter it again: 3690 Please enter a went type: v Please enter whether weekend or weekday: E Do you want an additional food and drink rock: y Account Number: 3690 Seat: VIP Weekend or weekday: Weekend Additional food and drink packty Total Amount = 420 AED

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

Database Horse Betting The Road To Absolute Horse Racing 2

Authors: NAKAGAWA,YUKIO

1st Edition

B0CFZN219G, 979-8856410593

More Books

Students also viewed these Databases questions

Question

What are the main objectives of Inventory ?

Answered: 1 week ago

Question

Explain the various inventory management techniques in detail.

Answered: 1 week ago