Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Genomes Browsers And Databases Data Mining Tools For Integrated Genomic Databases

Authors: Peter Schattner

1st Edition

0521711320, 978-0521711326

More Books

Students also viewed these Databases questions

Question

What is linear transformation? Define with example

Answered: 1 week ago