Browse Source

potenzieren 2

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

4
Taschenrechner.java

@ -20,6 +20,10 @@ public class Taschenrechner {
int temp = 1;
if(b == 0) {
return 1;
}
for(int i = 0; i < b; i++) {
temp = temp * a;
}

Loading…
Cancel
Save