/// Converts a Celsius temperature to Fahrenheit.
double celsiusToFahrenheit(double celsius) {
    return celsius * 9 / 5 + 32;
}

void main() {
    IO.println(celsiusToFahrenheit(100));
}

// From Groundwork, chapter 6 (ch06-methods), box 15.
// This example is from Groundwork, licensed CC BY-NC-SA 4.0.
// Run with: java ch06_15.java
