Search⌘ K

Exercise: Celsius to Fahrenheit

Explore how to write a ReasonML function that converts temperatures from Celsius to Fahrenheit. This lesson helps you understand function definitions, arithmetic operations, and proper syntax to build accurate and reusable code.

Problem Statement

In this exercise, you must create the convertTemp() function which converts temperature from Celsius to Fahrenheit.

Here is the conversion formula:

F= ...