Question: How i can solve this two in MATLAP? 1- Write a script that shows the user the following menu: If the user select the
1- Write a script that shows the user the following menu: " If the user select the button (X), the script should print an errorCaculae message. Area If the user select the button (Area): " Circum The script should ask the user to enter the radius and call the function (getarea) that calculates the area of the circle and calls its subfunction (printarea) to print the result. "If the user select the button (Circum): Exit The script should ask the user to enter the radius and call the function (getcircum) that calculates the circumference of the circle and calls its subfunction (printcircum) to print the circumference "If the user selects the button (Exit), the program will stop. There should be one script and two functions (with a subfunction for each) to calculate and print the result
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
