@ -66,14 +66,18 @@ public class Taschenrechner {
int s = scan.nextInt();
scan.close();
switch (s) {
case 1: {
addition(s, s);
break;
}
case 2: {
division(s, s);
default:
throw new IllegalArgumentException("Unexpected value: " + s);