Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This is for C# Semester Grade Write a program that uses the numeric scores on three exams to calculate and display a letter grade. The
This is for C#
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
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