int x = 20;

void setup () {
  for (int i = 0 ; i < 100; i ++) {
    setXToRandomNumber();
    println("x is: " + x);
  }
}

void setXToRandomNumber() {
  // What could go here?
}