Question: Complete the following in a simple driver ( i . e . the main method ) : Read the contents of the file into either:
Complete the following in a simple driver ie the main method: Read the contents of the file into either: three parallel arrays customerID name, gigsUsage or one array of DataCustomer objects Search the arrays to identify and write the names of all users who used GB or more of data. Calculate the average and total GB of data used for all customers in the dataset. Sort the parallel arrays by ascending customerID and write the customer and associated ID to the console as a list. Sort the parallel arrays by descending data usage and write to the customer name and associated gigs used to the console as a list.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
