Question: Question 2 You are tasked with developing a simple grade calculator for a class of students. The program should allow the user ( Tutor )
Question You are tasked with developing a simple grade calculator for a class of students. The program should allow the user Tutor to enter the number of students, input each student's grade, and then calculate the average grade. The program will also display the highest and lowest grades from the class. Requirements: User Input: o The user will enter the number of students. o The program will use an array to store each students grade. o After entering the grades, the program will calculate and display the average, highest, and lowest grades. Array: o Use an array to store the grades of the students. Control Structures: o Use a loop to input the grades into the array. o Use another loop to find the highest and lowest grades. o Perform arithmetic operations to calculate the average grade. Questions: a Write a java program based on the given scenario. Marks b Explain how the array is used in this program to store and access student grades. Marks c What is the purpose of the loop in this program? How is it used to both input and process the grades? Marks
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
