void main() {
    double[] celsius = {0, 25, 100, 37};
    ArrayList<Double> fahrenheit = new ArrayList<>();

    for (double c : celsius) {
        fahrenheit.add(c * 9 / 5 + 32);
    }

    IO.println(fahrenheit);
}

// From Groundwork, chapter 7 (ch07-arrays-and-lists), box 19.
// This example is from Groundwork, licensed CC BY-NC-SA 4.0.
// Run with: java ch07_19.java
