AlexanderJamesBecoy_SPD/Module/Module 7/oefen_opgave_2/oefen_opgave_2.pde
String boodschappen[] = {
  "Brood",
  "Melk",
  "Eieren",
  "Vleeswaren",
  "Koekjes"
};

void setup() {
  drukAf(boodschappen);
}

void drukAf(String[] array) {
  for(int arrayIndex = 0; arrayIndex < array.length; arrayIndex++) {
    println("[" + arrayIndex + "] " + array[arrayIndex]);
  }
}