-Write a class that contains methods for each of the following using arrays. For each, the input comes from standard input and consists of N real numbers between 0.0 and 1.0. then test each of these methods in the main method of your class. a. Print the maximum element. b. Print the maximum and minimum elements. c. Print the median element. d. Print the element that occurs most frequently. e. Print the sum of the squares of the elements. f. Print the average of the N elements. g. Print the element closest to 0. h. Print all the numbers greater than the average. i. Print the N elements in increasing order. (USE the method from part a.) j. Print the N elements in random order.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.