In Progress

Java Cruise Ship Evacuation

Problem: Cruise Ship Evacuation

Titanic Cruise Lines (TCL) has decided that due to an unfortunate incident, it needs to streamline the evacuation of occupants from a sinking cruise ship. The old stand-by of “women and children first” was found to not be sufficiently clear for the prioritization of evacuees, which led to people falling off the ship and hitting propeller blades and such. To help reduce the chaos under these stressful circumstances, TCL has commissioned you along with a team of software engineers to develop a program to determine the order in which people should be let on to lifeboats.

Priority and Ordering of Evacuees

Children have the highest priority in being evacuated from the ship, where a child is defined as a person aged less than 18 years. Among children, the younger they are, the higher their priority. Children of the same integer age should be prioritized based on their last names (String comparison). If two children have the same age and last name, they should then be prioritized based on first name. Amongst adults (people age 18 and older), women have priority over men. The executives of TCL, being very wealthy individuals, insist that adults of the same sex be prioritized based on annual income (wealthier have higher priority). Finally, adults of the same sex with equal income should be prioritized by name in the same way as children. There will not be two people with the same name on one ship.

Program Design and Classes

There are a total of five classes in this program. Two of the classes are already developed and you have to write the other three.

Attached is more information on the program, as well as two of the 5 classes that need to be created, the javadocs, and the sample input file and output files.

Skills: Java

See more: evacuation java, two string problem, string problem, streamline design, propeller design, clear string, java engineers, problem java, need engineers, java problem, java develop, incident, chaos, order java, develop ordering, write java file program, string integer, last names, java program help, tcl program, java output file, java engineers need help, program files java, java string, program java files

About the Employer:
( 0 reviews ) United States

Project ID: #1250478

2 freelancers are bidding on average $30 for this job

alexworker

Hi, I can do this project for you. I have graduated computer science so this is an easy task for me. Regards, Alex.

$30 USD in 3 days
(0 Reviews)
0.0
ruchir2504

It is simple enough. I can write the entire code in a matter of few hours. Additionally, if you need any refactoring , I would be available.

$30 USD in 1 day
(0 Reviews)
0.0