Question: Write a script that will use the menu function to present the user with choices for functions fix, floor, and ceil. Error-check by looping to
Write a script that will use the menu function to present the user with choices for functions fix, floor, and ceil. Error-check by looping to display the menu until the user pushes one of the buttons (an error could occur if the user clicks on the X on the menu box rather than pushing one of the buttons). Then, generate a random number and print the result of the users function choice of that number (e.g. fix(5)). Please use MATLAB!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
