Question: 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
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 19 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 ' 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: V. VE Welcome to our bill calculator for outdoor cinema Please enter the Account Number: 46472 "Incorrect! Please enter it again: 3690 Please enter a sent types V Please enter whether weekend or weekday: E Do you want an additional food and drink Rack: y Account Number: 3690 Seat: VIE Weekend or weekday Weekend Additional food and drink packy Total Amount = 420 AED
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
