Question: Please use MATLAB code to solve this question. Problem 3. (20 points) The following statements are intended to alert a user to dangerously high oral
Please use MATLAB code to solve this question.
Problem 3. (20 points) The following statements are intended to alert a user to dangerously high oral thermometer readings (values are in degrees Fahrenheit). Are they correct or incorrect? If they are incorrect, explain why (10 points) and correct them (10 points) % temp . m temp-input'Enter temperature in Fahrenheit:') if temp 97.5 elseif temp > 99.5 elseif temp103.0 disp 'Temperature below normal'); disp 'Temperature normal') disp 'Temperature slightly high') disp 'Temperature dangerously high') end
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
