12345678910
int base=5; int power=3; int result=1; int i=0; do{ result=result*base; i++; }while(i<power)