Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Program 2 Write a Java class called GradeSummary. In the mail method, there is an array of grades: int[] grades (23, 45, 67, 89, 100);
Program 2 Write a Java class called GradeSummary. In the mail method, there is an array of grades: int[] grades (23, 45, 67, 89, 100); Write methods to do the following 1. Find the minimum grade. The method signature is static int minGrade(int [] grades) Find the maximum grade. The method signature is: static int maxGrade(int [ grades) 2. Write code in your main program to call these two methods and print out the results Note: you must have methods to do this calculation. Do not do the calculation in the main method! The main method will just print out the result
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started