Answered step by step
Verified Expert Solution
Question
1 Approved Answer
CET3640 -Software for Computer Control Lab #3 Write a program that reads a student's name together with his or her test scores. The program should
CET3640 -Software for Computer Control Lab #3 Write a program that reads a student's name together with his or her test scores. The program should then compute the average test score for each student and assign the appropriate grade. The grade scale is as follows: 90-100,A; 80-89,B; 70-79,C,60-69,D; 0-59,F Your program must use the following methods: a. A value-returning method, calculateAverage, to determine and return the average of five test scores for each student. Use a loop to read and sum the five test scores. (This method does not output the average test score. That task must be done in the method main.) b. alue-returning method, calculateGrade, to determine and return each student's grade. (This method does not output the grade. That task must be done in the method main.)
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