Question: Please write code 3. (25 pt) In this problem, you will develop an interface for your MATLAB code to take inputs from the user and

Please write code
3. (25 pt) In this problem, you will develop an interface for your MATLAB code to take inputs from the user and display the output in the command window based on the algorithm. Suppose this interface is for a student to determine whether he/she is eligible for a scholarship, and it runs as follows When running the program, first display the following sentence "Welcome to the EGR scholarship system. Please enter your expected year of graduation (2021-2025)". . If the user enters 2021, 2022, or 2023, display "Please enter your grade point average (GPA) (0.00-4.00)"; otherwise, display the sentence "Sorry, you are not eligible for the scholarship. Thank you!" and then exit the program. If the user's GPA is between 3.65 and 4.00 (including 3.65 and 4.00), display "Your GPA is X.XX. Congratulations, you are eligible for this scholarship" and then exist the program; otherwise, display "Sorry, you are not eligible for the scholarship. Thank you!" and then exit the program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
