Question: 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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!