If the seat is not available or DOES NOT EXIST, display a warning message. Instruction: Using Java
Fantastic news! We've Found the answer you've been seeking!
Question:
If the seat is not available or DOES NOT EXIST, display a warning message.
Transcribed Image Text:
Instruction: 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.exe" "-javaagent: C:\Progra SEAT RESERVATION A1 A2 A3 A4 B1 C1 B2 C2 B3 C3 B4 C4 A5 B5 C5 A6 6 C6 A7 B7 C7 A8 B8 C8 A9 B9 C9 A10 B10 C10 Enter Seat Number: A1 A2 A3 A4 A5 D1 D2 D3 D4 D5 D6 07 D8 D9 D10 A6 A7 A8 A9 A10 Continue? E1 E2 E3 E4 E5 E6 E7 E8 E9 E10 D1 D2 D3 D4 D5 D 07 D8 09 XX F1 F2 F3 F4 F5 E1 E2 E3 E4 E5 E6 E7 E8 E9 E10 F6 F7 F8 F9 F10 61 G2 G3 G4 G5 G6 G7 G8 69 G10 F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 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: 010 B1 C1 B2 C2 B3 C3 B4 C4 85 C5 B6 C6 B7 C7 B8 C8 89 C9 B10 C10 G1 62 G3 G4 G5 G6 67 G8 G9 H1 H2 H3 H4 H5 610 H6 H7 H8 H9 H10 11 12 13 H1 H2 H3 H4 H5 H6 H7 H8 H9 H10 14 15 16 17 18 19 110 J1 32 33 34 35 36 37 38 39 J10 11 12 13 14 15 16 17 18 19 I10 J1 J2 33 34 35 36 37 38 39 J10 Instruction: 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.exe" "-javaagent: C:\Progra SEAT RESERVATION A1 A2 A3 A4 B1 C1 B2 C2 B3 C3 B4 C4 A5 B5 C5 A6 6 C6 A7 B7 C7 A8 B8 C8 A9 B9 C9 A10 B10 C10 Enter Seat Number: A1 A2 A3 A4 A5 D1 D2 D3 D4 D5 D6 07 D8 D9 D10 A6 A7 A8 A9 A10 Continue? E1 E2 E3 E4 E5 E6 E7 E8 E9 E10 D1 D2 D3 D4 D5 D 07 D8 09 XX F1 F2 F3 F4 F5 E1 E2 E3 E4 E5 E6 E7 E8 E9 E10 F6 F7 F8 F9 F10 61 G2 G3 G4 G5 G6 G7 G8 69 G10 F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 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: 010 B1 C1 B2 C2 B3 C3 B4 C4 85 C5 B6 C6 B7 C7 B8 C8 89 C9 B10 C10 G1 62 G3 G4 G5 G6 67 G8 G9 H1 H2 H3 H4 H5 610 H6 H7 H8 H9 H10 11 12 13 H1 H2 H3 H4 H5 H6 H7 H8 H9 H10 14 15 16 17 18 19 110 J1 32 33 34 35 36 37 38 39 J10 11 12 13 14 15 16 17 18 19 I10 J1 J2 33 34 35 36 37 38 39 J10
Expert Answer:
Related Book For
Database Systems Design Implementation and Management
ISBN: 978-1285196145
11th edition
Authors: Carlos Coronel, Steven Morris
Posted Date:
Students also viewed these programming questions
-
1. Culture content is congruent with organizational strategy (in this case, to maintain technological superiority in a competitive market). 2. Culture is strong (high agreement and high intensity)....
-
Estimate the initial elastic modulus E, at a temperature of 30C, of an elastomer having a molecular weight of 12,000 gm/mol between crosslinks and a density of 1.0 g/cm 3 .
-
12. Clinton corp operates in an industry for which NOL carrybacks is not allowed, and had the following pretax income (loss) over its first four years of operations. 2018: 50,000 2019: 120,000 2020:...
-
Which of the following domains are closed and which are bounded? (a) {(x, y) R: x + y 1} (b) {(x, y) = R: x + y <1} (c) {(x, y) = R: x 0} (d) {(x, y) R: x > 0, y > 0} (e) {(x, y) = R: 1 x 4,5 y 10}...
-
What must parents do to foster conscience development in fearless, impulsive children? How does this illustrate the concept of goodness of fit (see pages 259-260 in Chapter 7)?
-
Determine the moments at D and C, then draw the moment diagram for each member of the frame. Assume the supports at A and B are pins. EI is constant. 16 kN 3 m D 4 m
-
Adjusting Entries for Motion Picture Revenues} Link Pictures Inc. sells (licenses) the rights to exhibit motion pictures to theatres. Under the sales contract, the theatre promises to pay a licence...
-
Rensing Groomers is in the dog-grooming business. Its operating costs are described by the following formulas: Grooming supplies (variable) y = $0 + $5x Direct labor (variable) y = $0 + $14x Overhead...
-
10. With the help of the properties of summation and the summation formulas, nd the limit: $393328] Use the limit as n > :0 of the Right Endpoint Rule to nd the area under the graph of f[x] : 6x 3:2...
-
Branson Ltd owns two delivery vehicles (each with a residual value of $5000 and useful life of 4 years) and uses the straight-line method of depreciation. The business closes its accounting records...
-
Julie Lindstrom is the bookkeeper for a small company that imports handcrafted items from foreign countries. Most of its suppliers are individuals who sell handmade crafts. All purchases are stated...
-
What are the four basic functions of management?
-
In the liabilities section of its 2002 balance sheet, Wachovia Corporation reported noninterest- bearing deposits of over \($44\) billion . Wachovia is a very large banking company. In the...
-
Which of the four functions of management involves moni toring actual results to see whether the objectives set in the planning stage are being met and, if necessary, taking corrective action to...
-
What are the most significant changes that JIT brings to the planning of logistics in an organisation? What happens if an organisation wants to introduce JIT, but finds that its suppliers cannot cope...
-
Kingbird, Inc. has accounts receivable of $105,000 at March 31, 2022. An analysis of the accounts shows these amounts. Balance, March 31 Month of Sale 2022 2021 March $72,000 $78,600 February 14,800...
-
What services are provided by the provincial and territorial governments?
-
Modify the query used in Problem 29 to produce the summary shown inFigure. CUS CODE CUS BALANCE Total Purchases 10011 10012 10014 10015 10018 0.00 345.86 0.00 0.00 216.55 444.00 153.85 422.77 34.9 0...
-
Using the ERD you drew in Problem 2 create the equivalent Object representation and UML class diagram.
-
United Helpers is a nonprofit organization that provides aid to people after natural disasters. Based on the following brief description of operations, create the appropriate fully labeled Crows Foot...
-
Revise sales budget (Learning Objective 4) Turn to the original Whitewater Sporting Goods Data Set item 3. Suppose June sales are expected to be $40,000 rather than $60,000. Revise Whitewater...
-
Identify responsibility centers (Learning Objective 5) Fill in the blanks with the phrase that best completes the sentence. a. The maintenance department at the San Diego Zoois- b. The concession...
-
Interpret favorable variance (Learning Objective 5) Exhibit 10-20 shows that the Mexican sauces product line had a favorable marketing expense variance. Does this favorable variance necessarily mean...
Study smarter with the SolutionInn App