void main() {
    int[] scores = {88, 92, 79};

    String joined = "";
    for (int i = 0; i < scores.length; i++) {
        if (i > 0) {
            joined += ", ";
        }
        joined += scores[i];
    }
    IO.println(joined);
}

// From Groundwork, chapter 8 (ch08-strings-as-data), box 12.
// This example is from Groundwork, licensed CC BY-NC-SA 4.0.
// Run with: java ch08_12.java
