void main() {
    // BROKEN—do not copy this
    int score = 95;
    String grade;

    if (score >= 60) {
        grade = "D";
    } else if (score >= 70) {
        grade = "C";
    } else if (score >= 90) {
        grade = "A";
    } else {
        grade = "F";
    }

    IO.println(grade);
}

// From Groundwork, chapter 4 (ch04-making-decisions), box 6.
// This example is from Groundwork, licensed CC BY-NC-SA 4.0.
// Run with: java ch04_06.java
