Browse Source

startTaschenrechner case4

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

7
Taschenrechner.java

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

Loading…
Cancel
Save