Question: Please use MatLab 4) Write a script that will prompt the user to enter: (1) a temperature in degrees Celsius, (2) one of two characters:
4) Write a script that will prompt the user to enter: (1) a temperature in degrees Celsius, (2) one of two characters: ' F ' for Fahrenheit or ' K ' for Kelvin. The script will convert and display the corresponding temperature in the scale specified by the user. The conversions are: F=59C+32K=C+273.15 For example, the execution of the script might look like this: > Enter the temp in degree C:29.3 Do you want to convert to K or F ? F > The temp in degrees Fahrenheit is 84.7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
