You are to write a boarding system for a Cruise ship in java. The system will print a menu with which the user will interact to assign passengers to each cabin of a cruise ship. Task 1. Arrays solution. Design a program for a Cruise Ship with twelve cabins Once the basic code runs, put the code for‘Views All cabins’ and ‘Adds customer to cabin’, into separate procedures, and test it works. You can build up your test cases as you develop your program Then add a menu system which will allow the user to choose what they want to select. Enter an ‘A’ to add a customer to a cabin, and a ‘V’ to view all cabins. Implement each as a method. When an ‘A’ is pressed, it should do the Add method; a ‘V’ should do the View method. One by one, add extra methodsto do each of the following. The user should be able to choose from the menu what the program does. E: Display Empty cabins D: Delete customer from cabin F: Find cabin from customer name S: Store program data into file L: Load program data from file O: View passengersOrdered alphabetically by name. (Implement your own sort algorithm)
Please Can someone do these three task really fast?
You are to write a boarding system for a Cruise ship in java. The system will print a menu
with which the user will interact to assign passengers to each cabin of a cruise ship.
Task 1. Arrays solution. Design a program for a Cruise Ship with twelve cabins
Once the basic code runs, put the code for‘Views All cabins’ and ‘Adds customer to cabin’, into
separate procedures, and test it works. You can build up your test cases as you develop your
program
Then add a menu system which will allow the user to choose what they want to select. Enter an ‘A’
to add a customer to a cabin, and a ‘V’ to view all cabins. Implement each as a method. When an ‘A’
is pressed, it should do the Add method; a ‘V’ should do the View method.
One by one, add extra methodsto do each of the following. The user should be able to choose from
the menu what the program does.
E: Display Empty cabins
D: Delete customer from cabin
F: Find cabin from customer name
S: Store program data into file
L: Load program data from file
O: View passengersOrdered alphabetically by name. (Implement your own sort
Step by step
Solved in 2 steps