Any ideas in how to do this question?? its causing me alot of trouble!
Q.Write a class that uses a for loop to multiply your weight by itself eight times, storing the amount in another variable.
i.e. on the first iteration your weight to the power of one will be stored. On the next iteration, this amount will again be multiplied by your weight and stored, and so on. Include any relevant classes to run and test the application.
Thanks in advance