Browse Source

startTaschenrechner case4

remotes/origin/fdai7487-main-patch-56841
fdai7446 2 years ago
parent
commit
2f4bfa4098
  1. 7
      Taschenrechner.java

7
Taschenrechner.java

@ -99,6 +99,13 @@ public class Taschenrechner {
break;
}
case 4:{
System.out.println("Potenzieren\n");
System.out.println("Ergebnis:" + potenzieren(eingabe(), eingabe()));
break;
}
default:
throw new IllegalArgumentException("Unexpected value: " + s);
}

Loading…
Cancel
Save