Question: C# Create a Windows Form Application or a Console Application that lets you do the following: Enter a score (0 100) o Validate the score

C#

Create a Windows Form Application or a Console Application that lets you do the following: Enter a score (0 100) o Validate the score is an integer o Validate the score is between 0 and 100 inclusive o If there is an error, prompt the user with an error and to reenter the score Compute the letter grade o Use the scale 90, 80, 70, 60 for A, B, C, and D, respectively. The Click event handler of the button (or main method for a console application) must call three separate methods, corresponding to the three subtasks below A method named GetValidScore will get the score from the textbox, validate it, and pass the valid score to the Click event handler A method named DetermineLetterGrade will use a the scale to determine the letter grade and will pass the letter grade back to the Click event handler A method named DisplayScoreAndGrade will accept the valid score and letter grade from the Click event handler and display the score and letter grade in a MessageBox. Use appropriate data types and names for variables. Do not forget to add the Program/Author block at the beginning of your source code.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!