Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please write this java code in eclipse according to outputs !!!! Ticket Reservation System You are a computer engineer working in the IT department of

image text in transcribedimage text in transcribedimage text in transcribed

please write this java code in eclipse according to outputs !!!!

Ticket Reservation System You are a computer engineer working in the IT department of Biletix, a company of online reservation. You are asked to develop a new application to assign seats on the Stdyo Sahne (capacity: 12 seats). Your application asks for the following operations View SeatPlan 2 Make Reservation 3 View Reservation The system asks to select an operation until the user selects 4 (Exit) 1 View SeatPlan: User selects 1 The application displays the seat plan with the rows and the seats. There are 3 rows and 4 seats per each row Initially, all seats are empty and represented as. If your make a reservation for a seat, then the seat is full and represented as X. The format is as follows Welcome!!! Please select 1 View SeatPlan 2 Make Reservation 3 View Reservation Welcome!!Please select 1 View SeatPlan 2 Make Reservation 3 View Reservation Operation: 2 1st Row ?Price 100 TL) 2nd Row (Price 58 TL) 3nd Row (Price 25 TL) Select Row & Seat: 13 Name: Selen Row1/Seat3 is reserved 1 View SeatPlan 2 Make Reservation 3 View Reservation Operation: 1 1 View SeatPlan 2 Make Reservation 3 View Reservation Operation: 4 Operation: 1 1 View SeatPlan 2 Make Reservation 3 View Reservation Operation: 2 Make Reservation: User selects 2 The application displays the list of categories (rows) with prices . It asks user to enter the row and seat, then asks to enter the customer name for the reservation Welcome!!! Please select 1 View SeatPlan 2 Make Reservation 3 View Reservation Welcome!! Please select 1 View SeatPlan 2 Make Reservation 3 View Reservation WelcomePlease select 1 View SeatPlan 2 Make Reservation 3 View Reservation Operation: 2 1st Row (Price 100 TL) 2nd Row (Price 58 TL) 3nd Row (Price 25 TL) Select Row & Seat: 2 2 Name: selen Row2 /Seat2 is reserved Please select another seat.. 1 View SeatPlan 2 Make Reservation 3 View Reservation Operation: 2 1st Row (Price 188 TL) 2nd Row (Price 58 TL) nd Row (Price 25 TL) Select Row&Seat: 3 2 Operation: 2 1st Row (Price 180 TL) 2nd Row (Price 58 TL) 3nd Row(Price 25 TL) Select Row&Seat: 32 Row3/ Seat2 is reserved 1 View SeatPlan 2 Make Reservation 3 View Reservation Row3/Seat2 is reserved 1 View SeatPlan 2 Make Reservation 3 View Reservation Operation: 2 1st Row (Price 188 TL) 2nd Row (Price 58 TL) nd Row (Price 25 TL) Select Row&Seat: 3 4 Name: Elif Row3/ Seat4 is reserved 1 View SeatPlan 2 Make Reservation 3 View Reservation Operation: 2 1st Row (Price 180 TL) 2nd Row (Price 58 TL) 3nd Row (Price 25 TL) Select Row&Seat: 32 Operation: Row3/Seat2 is ful Please select another seat. 1 View SeatPlan 2 Make Reservation 3 View Reservation Operation: Operation: Ticket Reservation System You are a computer engineer working in the IT department of Biletix, a company of online reservation. You are asked to develop a new application to assign seats on the Stdyo Sahne (capacity: 12 seats). Your application asks for the following operations View SeatPlan 2 Make Reservation 3 View Reservation The system asks to select an operation until the user selects 4 (Exit) 1 View SeatPlan: User selects 1 The application displays the seat plan with the rows and the seats. There are 3 rows and 4 seats per each row Initially, all seats are empty and represented as. If your make a reservation for a seat, then the seat is full and represented as X. The format is as follows Welcome!!! Please select 1 View SeatPlan 2 Make Reservation 3 View Reservation Welcome!!Please select 1 View SeatPlan 2 Make Reservation 3 View Reservation Operation: 2 1st Row ?Price 100 TL) 2nd Row (Price 58 TL) 3nd Row (Price 25 TL) Select Row & Seat: 13 Name: Selen Row1/Seat3 is reserved 1 View SeatPlan 2 Make Reservation 3 View Reservation Operation: 1 1 View SeatPlan 2 Make Reservation 3 View Reservation Operation: 4 Operation: 1 1 View SeatPlan 2 Make Reservation 3 View Reservation Operation: 2 Make Reservation: User selects 2 The application displays the list of categories (rows) with prices . It asks user to enter the row and seat, then asks to enter the customer name for the reservation Welcome!!! Please select 1 View SeatPlan 2 Make Reservation 3 View Reservation Welcome!! Please select 1 View SeatPlan 2 Make Reservation 3 View Reservation WelcomePlease select 1 View SeatPlan 2 Make Reservation 3 View Reservation Operation: 2 1st Row (Price 100 TL) 2nd Row (Price 58 TL) 3nd Row (Price 25 TL) Select Row & Seat: 2 2 Name: selen Row2 /Seat2 is reserved Please select another seat.. 1 View SeatPlan 2 Make Reservation 3 View Reservation Operation: 2 1st Row (Price 188 TL) 2nd Row (Price 58 TL) nd Row (Price 25 TL) Select Row&Seat: 3 2 Operation: 2 1st Row (Price 180 TL) 2nd Row (Price 58 TL) 3nd Row(Price 25 TL) Select Row&Seat: 32 Row3/ Seat2 is reserved 1 View SeatPlan 2 Make Reservation 3 View Reservation Row3/Seat2 is reserved 1 View SeatPlan 2 Make Reservation 3 View Reservation Operation: 2 1st Row (Price 188 TL) 2nd Row (Price 58 TL) nd Row (Price 25 TL) Select Row&Seat: 3 4 Name: Elif Row3/ Seat4 is reserved 1 View SeatPlan 2 Make Reservation 3 View Reservation Operation: 2 1st Row (Price 180 TL) 2nd Row (Price 58 TL) 3nd Row (Price 25 TL) Select Row&Seat: 32 Operation: Row3/Seat2 is ful Please select another seat. 1 View SeatPlan 2 Make Reservation 3 View Reservation Operation: Operation

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_2

Step: 3

blur-text-image_3

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

Readings In Database Systems

Authors: Michael Stonebraker

2nd Edition

0934613656, 9780934613651

More Books

Students also viewed these Databases questions

Question

5. Successful recruitment.

Answered: 1 week ago

Question

=+ Have they changed the way employers view IP?

Answered: 1 week ago