The program should allow the user to enter each household


The village of Marengo conducted a census and collected records that contain household data, including the number of occupants in each household. The exact number of household records has not yet been determined, but you know that Marengo has fewer than 300 households.The program should allow the user to enter each household size and determine the mean and median household size in Marengo. Need to write the code that sorts the household sizes in ascending order using a bubble sort.

1. Sourced code file named HouseholdSize.java

2. Write the bubble sort

3. Output the mean and median household size in Marengo.

Solution Preview :

Prepared by a verified Expert
JAVA Programming: The program should allow the user to enter each household
Reference No:- TGS01249345

Now Priced at $20 (50% Discount)

Recommended (93%)

Rated (4.5/5)