Question: I wrote a program that converts celsius into fahrenheit, kelvin, and rankine. The program gives the right ouput for all other inputs, however if I

I wrote a program that converts celsius into fahrenheit, kelvin, and rankine. The program gives the right ouput for all other inputs, however if I input -273.15 degrees celsius, it outputs the right answer for all the conversions except rankine. I can't figure out whats wrong. I've shown the function I use for rankine. It's a user defined function. Keep in mind that for all other inputs the formula for rankine provides the right output except for absolute 0.
 I wrote a program that converts celsius into fahrenheit, kelvin, and

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!