Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Beginning Databases With PostgreSQL From Novice To Professional

Authors: Richard Stones, Neil Matthew

2nd Edition

1590594789, 978-1590594780

More Books

Students also viewed these Databases questions

Question

What are the main differences between rigid and flexible pavements?

Answered: 1 week ago

Question

What is the purpose of a retaining wall, and how is it designed?

Answered: 1 week ago

Question

How do you determine the load-bearing capacity of a soil?

Answered: 1 week ago

Question

what is Edward Lemieux effect / Anomeric effect ?

Answered: 1 week ago