Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Database And Expert Systems Applications 15th International Conference Dexa 2004 Zaragoza Spain August 30 September 3 2004 Proceedings Lncs 3180

Authors: Fernando Galindo ,Makoto Takizawa ,Roland Traunmuller

2004th Edition

3540229361, 978-3540229360

More Books

Students also viewed these Databases questions

Question

Recognize your typical method of resolving conflict.

Answered: 1 week ago

Question

1. What are the pros and cons of diversity for an organisation?

Answered: 1 week ago

Question

1. Explain the concept of diversity and equality in the workplace.

Answered: 1 week ago