Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this exercise, you will develop a form with 3 input boxes that allows the user to enter 3 decimal values. Also, have a button

In this exercise, you will develop a form with 3 input boxes that allows the user to enter 3 decimal values.

Also, have a button on the form called Calc Statistics.

When the user presses the Calc Statistics button, your program should make two method calls. One method will return the maximum value and the minimum value of the three input values, and one method will return the average of the three values.

You are to send the 3 input values to both of the methods. Think about how to get both the max and the min back from the CalcHighLow method (will require ref type parameters). For the CalcAverage method, you may return the answer via the method name (think return.)

Place a label on the form that will appear with the correct answer in this format:

The maximum is xxx.x and the minimum is xxx.x and the average is xxx.x.

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

More Books

Students also viewed these Databases questions

Question

Recognize judgment traps that hinder the decision-making process.

Answered: 1 week ago