. The O’Neill High School Performing Arts Center auditorium contains 20 rows (numbered 1 through 20) with 40 seats each (numbered 1 through 40). Write an application that allows a user to continuously enter a row and seat request until a sentinel value is entered. If the row or seat number is too high, issue an error message. Otherwise, determine whether the seat has already been reserved. If so, display an error message; if not, then charge the user $7.50 for a ticket and display a running total of the user’s purchase. When the user enters a sentinel, display the number of seats taken and the number still available in the auditorium.

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter7: String Manipulation
Section: Chapter Questions
Problem 10E
icon
Related questions
Question

. The O’Neill High School Performing Arts Center auditorium contains 20 rows (numbered 1
through 20) with 40 seats each (numbered 1 through 40). Write an application that allows a
user to continuously enter a row and seat request until a sentinel value is entered. If the row
or seat number is too high, issue an error message. Otherwise, determine whether the seat has
already been reserved. If so, display an error message; if not, then charge the user $7.50 for a
ticket and display a running total of the user’s purchase. When the user enters a sentinel,
display the number of seats taken and the number still available in the auditorium.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Data Binding
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning