|
@ -59,7 +59,7 @@ public class Taschenrechner { |
|
|
return Math.PI; |
|
|
return Math.PI; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
int eingabe() { |
|
|
|
|
|
|
|
|
static int eingabe() { |
|
|
Scanner scan = new Scanner(System.in); |
|
|
Scanner scan = new Scanner(System.in); |
|
|
int intScan= scan.nextInt(); |
|
|
int intScan= scan.nextInt(); |
|
|
|
|
|
|
|
@ -80,7 +80,7 @@ public class Taschenrechner { |
|
|
switch (s) { |
|
|
switch (s) { |
|
|
case 1: { |
|
|
case 1: { |
|
|
|
|
|
|
|
|
addition(s, s); |
|
|
|
|
|
|
|
|
addition(eingabe(), eingabe()); |
|
|
break; |
|
|
break; |
|
|
} |
|
|
} |
|
|
case 2: { |
|
|
case 2: { |
|
|