diff --git a/Taschenrechner.java b/Taschenrechner.java index 942258c..921a25e 100644 --- a/Taschenrechner.java +++ b/Taschenrechner.java @@ -63,7 +63,7 @@ public class Taschenrechner { Scanner scan = new Scanner(System.in); int intScan= scan.nextInt(); - scan.close(); +// scan.close(); return intScan; } @@ -75,7 +75,7 @@ public class Taschenrechner { int s = scan.nextInt(); - scan.close(); +// scan.close(); switch (s) { case 1: {