Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using Java programming language, create a program that will create a simple Reservation system using classes, objects, constructors, and methods. Requirements: (100 points) 1.



image text in transcribed 




image  

Using Java programming language, create a program that will create a simple Reservation system using classes, objects, constructors, and methods. Requirements: (100 points) 1. Display 100 available seats. (10 points) "C:\Program Files\Java\jdk-13.0.1\bin\java.ex -javaagent:C:\Progra SEAT RESERVATION A1 B1 C1 01 E1 F1 G1 HI 11 31 A2 82 C2 D2 E2 F2 62 112 12 32 A3 B3 C3 D3 E3 F3 G3 H3 23 33 A4 84 C4 D4 E4 FA 64 H4 74 34 A5 85 CS 015 E5 F5 G5 H5 15 35 A6 BO C Do E6 F6 GO 116 76 36 A7 87 C7 D7 E7 F7 67 117 17 37 AB 88 CB DB EB FB G8 18 38 A9 89 C9 09 E9 F9 69 H9 19 A10 810 C10 D10 E1D F18 GIO HID 110 39 310 Enter Seat Number: 2. Allow the user to enter the seat number to be reserved. (10 points) 3. It the seat to be reserved is available, mark it as reserved and display the updated list of available seats. (20 points) Enter Seat Number: 016 A1 81 C1 DI E1 F1 01 HE 21 A2 82 C2 D2 E2 F2 G2 H2 12 32 A3 83 C3 D3 E3 F3 G3 H3 13 33 AA 84 CA D4 E4 F4 04 H4 26 34 A5 85 C5 D5 E5 F5 G5 H5 15 35 AO Bo Co D6 Ed F 66 HO 16 36 A7 87 C7 07 E7 F7 G7 H7 17 37 AB BB CB DB E8 FB GB 18 38 A9 89 C9 09 E9 89 G9 H9 19 39 A10 810 C20 xx E10 F10 610 HIO 110 310 Continue? 4. If the seat to be reserved is NOT available or DOES NOT EXIST, display a warning a message. (20 points) Continue? Enter Seat Number: Seat already taken / Invalid seat A1 B1 C1 01 E1 F1 61 H1 11 31 A2 82 C2 02 E2 F2 62 H2 12 32 A3 83 C3 03 E3 F3 G3 H3 13 33 A4 84 CA 04 E4 F4 G4 H4 A5 85 C5 05 E5 F5 65 H5 15 135 14 34 35 Ab 86 Co 06 Ed F6 Go H6 16 38 A7 87 C7 07 E7 F7\ G7 H7 17 37 AB BB CB 08 EB F8 GB HB 18 38 A9 89 C9 09 E9 F9 G9 H9 19 39 A10 810 C10 E10 F10 610 H10 110 310 Continue? 5. After the process, ask the user if he wants to reserve another seat. If to continue the reservation, repeat requirements number 2-5, otherwise, terminate the program. (20 points) Continue? Process finished with exit code 0 6. Create a class that contains a constructor and a method that performs the reservation. (20 points)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

Image 1 Decision Tree Applicability Decision trees can be applied for customer segmentation within your membership system Scenario You can train a dec... 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

Java An Introduction To Problem Solving And Programming

Authors: Walter Savitch

8th Edition

0134462033, 978-0134462035

More Books

Students also viewed these Programming questions

Question

How does the concept of hegemony relate to culture?

Answered: 1 week ago

Question

Calculate the missing values

Answered: 1 week ago