Practice · 1 of 4
Celsius to Fahrenheit
CHALLENGE
Difficulty: beginner+25 XP
Implement static double ToFahrenheit(double celsius) returning celsius * 9 / 5 + 32. Keep it exact for fractional input.
Press Submit to check your solution.
Back to lesson: Practice: Types under pressure