Question: Write three Java classes called Array01Test, Array02Test, and Array03Test in one application called PreLab07A that use arrays to perform the operations noted in the Visual
Write three Java classes called Array01Test, Array02Test, and Array03Test in one application called PreLab07A that use arrays to perform the operations noted in the Visual Logic output boxes below. You can also use the Visual Logic flowcharts as a guide. Array02Test asks the user for the length of the array, has the user input numbers in the array, and performs calculations (square roots) and the median on the numbers in the array. If the sentinel value (999) is entered, issue a break statement to exit the For loop. Array03Test asks the user to enter the amount of students, then last name and grade for each student, prints a listing of names and grades, the average, and the highest and lowest grade (name and grade).




PreLab07A Write three Java classes called Array01Test, Array02Test, and Array03Test in one application called PreLab07A that use arrays to perform the operations noted in the Visual Logic output boxes below. You can also use the Visual Logic flowcharts as a guide. Send the zipped file as Your Name PreLab07A zip to receive class participation credit. Array01Test asks the user for the length of the array, has the user input numbers in the array, and performs calculations (squares) and reversals on the numbers in the array 2 Enter the amount of numbers in the array: 3 Enter a number:9 Enter a number:6 Enter a number:8 The numbers entered are: 9 and 9 squared is 81 6 and 6 squared is 36 s and 8 squared is 64 Average-: 7.66666666666667 The numbers entered in reverse order are: 8 6 9 Next to last number entered was 6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
