power of number using while loop

Published --