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

 Write a program that calculates and prints the bill for an

Write a program that calculates and prints the bill for an outdoor cinema. There are two plans: Seat Type Includes 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 i. ii. ili. 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 sor S for Premium service). Any invalid input must be corrected by asking the user to re-enter. Ask the user to enter d' for a weekday and '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 played for additional food and drink pack. Print all the entered details to the screen. Calculate the amount due and print it to the screen. V. vi. Sample Run: Welcome to our bill calculator for outdoor cinema. Please enter the Account Number: 46472 * Incorrect! Please enter it again: 3690 Please enter a seat type: V Please enter whether weekend or weekday: E Do you want an additional food and drink pack: Y Account Number: 3690 Seat: VIP Weekend or weekday: Weekend Additional food and drink pack: y Total Amount - 420 AED

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!