Question: rite a MATLAB program that converts temperature values from Fahrenheit to Celsius. The formula is given by: tc = 5 ( tf 3 2 )
rite a MATLAB program that converts temperature values from Fahrenheit to Celsius. The formula is given by:
tctf
Where tc is temperature in degrees Celsius deg C and tf is degrees Fahrenheit deg F Your program should:
Prompt the user to enter a value in degrees Fahrenheit. The prompt should be:
Enter a temperature value in Fahrenheit:
Then convert user input value to degrees Celsius.
Then display both values in the command window as follows:
The values in degrees Fahrenheit and Celsius are: F C
where F is the value in degrees Fahrenheit from the user and C is the value in degrees Celsius your program calculated based on the user input.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
