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 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 IV. V. Vi

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

Databases On The Web Designing And Programming For Network Access

Authors: Patricia Ju

1st Edition

1558515100, 978-1558515109

More Books

Students also viewed these Databases questions