int getal = 0;
int uitkomst = 0;
int maal= 0;
void setup() {// put your setup code here, to run once:
Serial.begin(9600);
Serial.println("Van welk getal moeten de tafels worden gedaan.");
while (!Serial.available()) {
}
int getal = Serial.parseInt();
for(int maal= 0; maal<=10; maal++){
uitkomst=getal*maal;
Serial.println(uitkomst);
delay(100);
}
}
void loop() { // put your main code here, to run repeatedly:
}