odin-default-js-exercises/06-tempConversion
Cody Loyd 5c559cf15a update temp conversion readme 2017-08-25 10:29:32 -05:00
..
README.md update temp conversion readme 2017-08-25 10:29:32 -05:00
tempConversion.js add tempConversion 2017-08-25 10:27:07 -05:00
tempConversion.spec.js add tempConversion 2017-08-25 10:27:07 -05:00

README.md

Exercise 06 - tempConversion

This exercise asks you to create more than one function so the module.exports section of the spec file looks a little different this time. Nothing to worry about, we're just packaging the functions into an object to be exported.

Write two functions that convert temperatures from Fahrenheit to Celsius (and the other way around):

ftoc(32) // fahrenheit to celsius, should return 0

ctof(0) // celsius to fahrenheit, should return 32