Hey guys,

I am in a computer systems technology course right now... but we only just started using eclipse and I am so lost.. I have written small programs such as the HelloWorld program. I was away from school for 1.5 weeks with mono and have so much to catch up on! My professors do not offer help/review sessions. This is soo hard to learn without being in those classes I missed

This program is quite a bit more complicated. Can you guys give me a hand with the lines of code involved as per the following instructions? Thank you so much in advance!

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

When the Titanic embarked on her maiden voyage on April 10, 1912 there were 2,227 people on board. There were also only 20 lifeboats with an average capacity of about 59 people (maximum capacity was therefore about 20 x 59 = 1,180 people). Obviously it would have been ideal to have enough lifeboats to safely evacuate everyone on board ship! Your task is to write a Java program that will calculate the minimum number of lifeboats required to do this as well as the numbers of people who would be rescued or drowned given the number of available lifeboats. Your program should be flexible enough to work for any ship and size of lifeboat.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Write a Java program called Lifeboats.java that will do all of the following:

1. Display a title

2. Ask the user to enter the following values:

a. The name of the ship (possibly including spaces like HMS Endurance)

b. The number of people on board the ship

c. The maximum number of people that can be carried by one lifeboat assuming all the lifeboats on the ship are the same size

d. The actual number of lifeboats that are available on board the ship

3. Calculate and display the following results:

a. The minimum number of lifeboats required to carry all the people

b. The number of people that would be rescued if the available lifeboats were filled (but not beyond the number of people on board the ship) as well as the percentage that this represents of all the people on board

c. The number of people that would drown as well as the percentage that this represents of all the people on board

d. If nobody drowns, then also display the number of additional people that could be carried by the lifeboats if they were all filled to capacity regardless of whether this number is greater than the number of people on board.