highest_F <- 108
lowest_F <- 0
highest_C <- (highest_F - 32) * 5 / 9
lowest_C <- (lowest_F - 32) * 5 / 9Example
The shortest data report
In this data report, we’ll convert the highest and lowest temperatures recorded in Seattle from Fahrenheit to Celsius.
Get the high temp in C:
highest_C[1] 42.22222
Get the low temp in C:
lowest_C[1] -17.77778
Summary
As you can see, the temperatures in Celsius are:
High: 42.22 C
Low: -17.78 C