Skip to content

Commit 0b21834

Browse files
committed
Missed README.md
1 parent 374252c commit 0b21834

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

07_tempConversion/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
Write two functions that convert temperatures from Fahrenheit to Celsius, and vice versa:
44
```
5-
ftoc(32) // fahrenheit to celsius, should return 0
5+
convertToCelsius(32) // fahrenheit to celsius, should return 0
66
7-
ctof(0) // celsius to fahrenheit, should return 32
7+
convertToFahrenheit(0) // celsius to fahrenheit, should return 32
88
```
99

10-
Because we are human, we want the result temperature to be rounded to one decimal place: i.e., `ftoc(100)` should return `37.8` and not `37.77777777777778`.
10+
Because we are human, we want the result temperature to be rounded to one decimal place: i.e., `convertToCelsius(100)` should return `37.8` and not `37.77777777777778`.
1111

1212
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 both functions into a single object to be exported.
1313

0 commit comments

Comments
 (0)