Question: Semester Grade Write a program that uses the numeric scores on three exams to calculate and display a letter grade. The lowest of the three
Semester Grade
Write a program that uses the numeric scores on three exams to calculate and display a letter grade.
The lowest of the three scores is dropped. The letter grade is assigned using the following grading scale:
ABCD below
Your form will have three custom methods: one void method, and two valuereturning methods.
A valuereturning method to calculate the numeric average of the two highest scores.
The method has three parameters, one for each score. It returns the average.
A valuereturning method to translate the numeric average to a letter grade. This
method has one parameter, which is the numeric average. The function returns the
letter grade.
A void method to display the name and letter grade on the form. This method has two
parameters, one for the student name and one for the letter grade.
Input validation is not required.
Do not use class level variables fields in your solution.
Suggestion: Do not use existing variable names as parameter names.
Suggestion: First create a solution that works using only the button Click event procedure. Then,
modularize the event procedure using existing statements by adding methods and testing after
each new method.
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
