Question: MATLAB Write a program that accepts three numbers as input and prints the maximum of the three numbers. After inputting the numbers from the user,
MATLAB
Write a program that accepts three numbers as input and prints the maximum of the three numbers. After inputting the numbers from the user, use only the if construct in determining the maximum.Does your program give the correct output if two or more of the values are equal? If exactly two of the values are equal, does it matter whether the equal values are lower or higher than the third? Ensure that your program gives the correct output for all possible scenarios.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
