Question: A formula for converting a temperature from Fahrenheit to Celsius is C = 5/9 (F - 32) where F is the Fahrenheit temperature and C

A formula for converting a temperature from Fahrenheit to Celsius is C = 5/9 (F - 32) where F is the Fahrenheit temperature and C is the Celsius temperature. Write a function named celsius that accepts a Fahrenheit temperature as an argument. The function should return the temperature, converted to Celsius. Demonstrate the function by calling it in a loop that displays a table of the Fahrenheit temperature 0 through 20 and their Celsius equivalents.

I need it to look like the picture.

A formula for converting a temperature from Fahrenheit to Celsius is C

LIBE My Stuff-8-More My Home Computer Science 1:( Output Fahrenheit Celsius 0.0 1.0 2.0 3.9 4.0 5.0 17.8 -16.7 -16.1 15.6 -15. -14.4 -13.9 -13.3 -12.8 -12.2 7.0 8.0 9.0 10 . 11.0 12.0 13 . -10.6 -10.0 -9.4 -8.9 -8.3 140 15 . 16.0 17.0 18.0 190 20.0 -6.7

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!