Hi! I would like to request for a correct Java programming code:   Create a NetBeans project for this activity.      Example: MP1_Blanco_Maria The class name should be...     Example: SeatReservation_Blanco     Program Specification: 1. Use two-dimensional array with size 7 columns and 5 rows. 2. Seat numbers are populated during run-time and not hard-coded. 3. User is asked to input a seat number. 4. The chosen seat number is replaced by the letter X. 5. Program displays a remark “Seat successfully reserved” when reservation is done. 6. The user is not allowed to reserve a previously reserved seat. Display “Seat is taken” remarks. 7. The user is not allowed to enter an invalid seat number. Display an error message. 8. The program continuously loops

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter7: Arrays
Section: Chapter Questions
Problem 3PP: (Numerical) Given a one-dimensional array of integer numbers, write and test a function that...
icon
Related questions
Question
100%

Hi! I would like to request for a correct Java programming code:

 

Create a NetBeans project for this activity. 
    Example: MP1_Blanco_Maria
The class name should be...
    Example: SeatReservation_Blanco

 

 

Program Specification:
1. Use two-dimensional array with size 7 columns and 5 rows.
2. Seat numbers are populated during run-time and not hard-coded.
3. User is asked to input a seat number.
4. The chosen seat number is replaced by the letter X.
5. Program displays a remark “Seat successfully reserved” when reservation is
done.

6. The user is not allowed to reserve a previously reserved seat. Display “Seat is
taken” remarks.
7. The user is not allowed to enter an invalid seat number. Display an error
message.
8. The program continuously loops

 

 

Program Specification:
1. Use two-dimensional array with size 7 columns and 5 rows.
2. Seat numbers are populated during run-time and not hard-coded.
3. User is asked to input a seat number.
4. The chosen seat number is replaced by the letter X.
5. Program displays a remark "Seat successfully reserved" when reservation is
done.
Transcribed Image Text:Program Specification: 1. Use two-dimensional array with size 7 columns and 5 rows. 2. Seat numbers are populated during run-time and not hard-coded. 3. User is asked to input a seat number. 4. The chosen seat number is replaced by the letter X. 5. Program displays a remark "Seat successfully reserved" when reservation is done.
6. The user is not allowed to reserve a previously reserved seat. Display "Seat is
taken" remarks.
7. The user is not allowed to enter an invalid seat number. Display an error
message.
8. The program continuously loops.
Sample Output:
2
5
6.
13
4
7
8
9
10
11
12
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Enter seat number to reserve: 11
1
2
3
4
5
7
8
9
15
10
12
13
14
16
17
18
19
20
21
22 23
24
25
26
27
28
29
30
31
32
33
34
35
Enter seat number to reserve:
Transcribed Image Text:6. The user is not allowed to reserve a previously reserved seat. Display "Seat is taken" remarks. 7. The user is not allowed to enter an invalid seat number. Display an error message. 8. The program continuously loops. Sample Output: 2 5 6. 13 4 7 8 9 10 11 12 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 Enter seat number to reserve: 11 1 2 3 4 5 7 8 9 15 10 12 13 14 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 Enter seat number to reserve:
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Array
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
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning