Browse Source

startTaschenrechner case9

remotes/origin/H.F.F/Taschenrechner
fdai7446 2 years ago
parent
commit
a5f1b538b4
  1. 7
      Taschenrechner.java

7
Taschenrechner.java

@ -134,6 +134,13 @@ public class Taschenrechner {
break; break;
} }
case 9:{
System.out.println("Pi\n");
System.out.println("Ergebnis:" + pie());
break;
}
default: default:
throw new IllegalArgumentException("Unexpected value: " + s); throw new IllegalArgumentException("Unexpected value: " + s);
} }

Loading…
Cancel
Save