Browse Source

startTaschenrechner

remotes/origin/H.F.F/Taschenrechner
fdai7446 2 years ago
parent
commit
5132012565
  1. 4
      Taschenrechner.java

4
Taschenrechner.java

@ -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);
break;
}
default:
throw new IllegalArgumentException("Unexpected value: " + s);

Loading…
Cancel
Save