17 lines
379 B
Markdown
17 lines
379 B
Markdown
Temperature Converters
|
|
======================
|
|
|
|
###Fahrenheit to Celsius
|
|
Write a function that converts fahrenheit temperatures to celsius. The equation to do this is:
|
|
|
|
C = (F - 32) * 5/9
|
|
|
|
###Celsius to Fahrenheit
|
|
|
|
Write a similar function that converts celsius to fahrenheit. The equation:
|
|
|
|
F = (C * 9/5) + 32
|
|
|
|
###Testing
|
|
|
|
Make sure the tests pass. Write 3 of your own tests. |