✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Write a subroutine named “findMiddleNumber” that takes three numbers and returns the middle (median) number.
(A) Ask the user for three numbers using three input boxes. The first input box should look like this:
and the rest of the input boxes should follow a similar structure. Assume that the user input is an integer but can be very large, e.g., the user may input 40000. (B) Find the middle number by using if – elseif – else statements to compare the numbers.
(C) Display the result in a message box. The message box should look like this if the user enters 1, 2, 3 into input boxes:
Make sure to include “Option Explicit” statement before the sub.
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!