Deviopath › Swift

Celsius to Fahrenheit

Easy · Numbers

Double is a floating-point type. The formula is F = C * 9 / 5 + 32. Round to 1 decimal with (x * 10).rounded() / 10.

Write toFahrenheit(_:).

Next: Largest of Three