celsiusToFahrenheit static method
Converts a temperature from Celsius to Fahrenheit.
Formula: F = C * 1.8 + 32
Parameters:
celsius: The temperature in degrees Celsius.
Returns: The converted temperature in degrees Fahrenheit.
Implementation
static double celsiusToFahrenheit(double celsius) => (celsius * 1.8) + 32;