diff --git a/Taschenrechner.java b/Taschenrechner.java index 6b4c6a6..0b70fd1 100644 --- a/Taschenrechner.java +++ b/Taschenrechner.java @@ -134,6 +134,13 @@ public class Taschenrechner { break; } + case 9:{ + System.out.println("Pi\n"); + + System.out.println("Ergebnis:" + pie()); + + break; + } default: throw new IllegalArgumentException("Unexpected value: " + s); }