Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a form named GradeTopDown that lets you to do the following: Enter a score (0100) and a name into two different text boxes and

Create a form named GradeTopDown that lets you to do the following:

  • Enter a score (0–100) and a name into two different text boxes and compute the letter grade by clicking a button
  • Use the scale 90, 80, 70 for A, B and C, respectively. The structure chart of the task to process the grade is as follows:

student submitted image, transcription available below

 

The Click event handler of the button must call three separate methods, corresponding to the three subtasks, described below:

  1. A method named ValidScore that gets the name and score from the TextBoxes, validates the score and passes the name and valid score to the Click event handler.
  2. A second method named Grade that computes the letter grade. Pass the score from the calling program to Grade. The method must return the letter grade without using a parameter.
  3. A third method that displays the name and letter grade. Pass the name and letter grade as parameters to this method.
     

Get Valid Score Score Process Grade Score Grade Grade Score, a Grade Display Score & Grade

Step by Step Solution

3.40 Rating (147 Votes )

There are 3 Steps involved in it

Step: 1

Form Design To create a Form named GradeTopDown follow these steps Open Visual Studio and create a new Windows Forms Application In the Solution Explo... 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

Intermediate Accounting

Authors: J. David Spiceland, James Sepe, Mark Nelson, Wayne Thomas

10th edition

1260481956, 1260310175, 978-1260481952

More Books

Students also viewed these Programming questions

Question

3. Identify the challenges inherent in boundary-spanning roles.

Answered: 1 week ago