update temp conversion readme
This commit is contained in:
parent
fc9725de7f
commit
5c559cf15a
|
@ -2,4 +2,11 @@
|
||||||
|
|
||||||
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.
|
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
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue