Question: [ 2 0 pts ] The conversion formula from Kelvin ( deg K ) to Celsius ( deg C ) is as follows:
pts The conversion formula from Kelvin deg K to Celsius deg C is as follows:
deg Cdeg K
Write a script that:
Asks the user their name
Asks the user the current temperature in Celsius deg C
Converts the temperature to Kelvin deg K
Prints the results using fprintf in the following format:
Hello John! C is equivalent to K
This is just an example. Your output should depend on the user inputs. John and were example inputs in this case.
Your numbers should have a precision of two digits after the decimal while printing.
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
