GUYS do u have any idea which method is best used in this kind of situation?And how should i write the code??
PURCHASING MODULE
B – to purchase ticket for Business class
E – to purchase ticket for Economy class
M – to return to Main Menu
Assigning Seats
If the person types B, then your program should assign a seat in the business class (seats 1-5). If the person types E, then your program should assign a seat in the economy class (seats 6 - 25).