could anyone convert this FOR LOOP into a WHILE LOOP for me:
for (counter_2 = 0; counter_2 < min_exponent; counter_2 ++)
answer *= base;
this is what i got but i dont think it is right:
while (counter_2 < min_exponent)
{
counter_2 ++;
answer *= base;
}
thanks in advance,
dave.