Jak obliczyć 2^7 w kodzie CPP
while (exponent != 0) {
result *= base;
--exponent;
}
Dead Dragonfly
while (exponent != 0) {
result *= base;
--exponent;
}