[SOLVED] SOLVED: Java class Titanic

30.00 $

Programming resource
, Digital learning resource
Categories: ,
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (3 votes)

. (25 points) Design a Java application that will read a file containing data related to the passengers on the Titanic. The description of the file is shown below. The application should provide statistical results on the passengers including:
a. Total number of passengers on the Titanic b. Total number of passengers who perished on the Titanic c. Total number of Passengers who survived the sinking of the Titanic d. Number of passengers who survived the sinking of the Titanic as a function of the passenger class (e.g. 1,2,3) e. Number of passengers who survived the sinking of the Titanic as a function of the passenger gender (e.g., male, female) f. A list of the names of passengers who paid greater than $200 for their tickets g. A list of the names of passengers who were less than 10 years old who survived the sinking of the Titanic h. A list of the names of passengers who were less than 10 years old who perished on the Titanic i. The count of the number of passengers as a function of the first letter of their last name. (e.g., A: 13, B:33 …) j. Additional statistical results you add to enhance the functionality

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.