Answered step by step
Verified Expert Solution
Link Copied!

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:
90-100(A),80-89(B),70-79(C),60-69(D), below 60(F).
Your form will have three custom methods: one void method, and two value-returning methods.
A value-returning 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 value-returning 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.
image text in transcribed

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

Step: 3

blur-text-image

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

Visual C# And Databases

Authors: Philip Conrod, Lou Tylee

16th Edition

1951077083, 978-1951077082

More Books

Students also viewed these Databases questions

Question

1. Answer the question, Who should do the appraising?

Answered: 1 week ago

Question

=+Have they changed the way employees view IP?

Answered: 1 week ago