You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 06-tempConversion/README.md
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,4 +2,11 @@
2
2
3
3
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.
4
4
5
+
Write two functions that convert temperatures from Fahrenheit to Celsius (and the other way around):
6
+
```
7
+
ftoc(32) // fahrenheit to celsius, should return 0
8
+
9
+
ctof(0) // celsius to fahrenheit, should return 32
0 commit comments