Question: Write a Java computer program with the following methods: Main Declares an array to store 5 GPAs and calls the 3 methods below. getData Method
Write a Java computer program with the following methods: Main Declares an array to store 5 GPAs and calls the 3 methods below. getData Method to read 5 student's GPA from the keyboard computeAverage Method to compute and display average GPA lowestGPA Value returning method to determine and return the lowest GPA. * DO NOT complete everything in main(). The method main() should only declare the array and use the appropriate method calls, to the 3 other methods. Sample Output Enter GPA 1 - 3.25 Enter GPA 2-3.91 Enter GPA 3-2.35 Enter GPA 4 - 2.73 Enter GPA 5 - 3.85 Average GPA-3.218 Lowest GPA -2.35
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
