|
@ -63,7 +63,7 @@ public class Taschenrechner { |
|
|
Scanner scan = new Scanner(System.in); |
|
|
Scanner scan = new Scanner(System.in); |
|
|
int intScan= scan.nextInt(); |
|
|
int intScan= scan.nextInt(); |
|
|
|
|
|
|
|
|
scan.close(); |
|
|
|
|
|
|
|
|
// scan.close(); |
|
|
|
|
|
|
|
|
return intScan; |
|
|
return intScan; |
|
|
} |
|
|
} |
|
@ -75,7 +75,7 @@ public class Taschenrechner { |
|
|
|
|
|
|
|
|
int s = scan.nextInt(); |
|
|
int s = scan.nextInt(); |
|
|
|
|
|
|
|
|
scan.close(); |
|
|
|
|
|
|
|
|
// scan.close(); |
|
|
|
|
|
|
|
|
switch (s) { |
|
|
switch (s) { |
|
|
case 1: { |
|
|
case 1: { |
|
|