diff --git a/Taschenrechner.java b/Taschenrechner.java index 8d1d703..34bd0db 100644 --- a/Taschenrechner.java +++ b/Taschenrechner.java @@ -55,7 +55,7 @@ public class Taschenrechner { return temp; } - static double pie() { + static double pi() { return Math.PI; } @@ -142,7 +142,7 @@ public class Taschenrechner { case 9:{ System.out.println("Pi\n"); - System.out.println("Pi:" + pie()); + System.out.println("Pi:" + pi()); break; }