void addTen(int n) {
    n = n + 10;
}

void main() {
    int x = 5;
    addTen(x);
    IO.println(x);
}

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