This commit is contained in:
DerTyp7
2023-09-08 10:26:07 +02:00
commit 9693343abb
7 changed files with 136 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
package de.tealfire;
public class Bowling {
int score = 0;
int roll = 0;
public void roll(int i) {
score += i;
roll++;
}
public int score() {
return score;
}
}