Write an array returning method that takes a


1) Write an array returning method that takes a two-dimensional array of ints as a parameter and returns a two dimensional array of chars, assigning a letter grade corresponding to the integer grade (A if 90 or above, ..., F if less than 60). Include code to test your method.

2) Write a class (and a client class to test it) that encapsulates statistics for summer job salaries for a group of people over several years. Your only instance variable should be a two-dimensional array of values representing salaries. Dimension 1 represents the people and dimension 2 represents the year of the summer job. Your constructor can simply take two integers representing the number of people and the number of years, then randomly generate the salaries and fill the array. You should include the following methods:

a method returning the index of the person having made the most money over the years

a method returning the year when the highest salary was earned

a method returning the total amount of money made by all the people over the years.

Solution Preview :

Prepared by a verified Expert
Programming Languages: Write an array returning method that takes a
Reference No:- TGS01694427

Now Priced at $40 (50% Discount)

Recommended (95%)

Rated (4.7/5)