Calculate the Power of a Number using a For Loop
When you run the program, the output will be:
3 to the power of 3 is equal to 27
Calculate the Power of a Number using a While Loop
When you run the program, the output will be:
2 to the power of 5 is equal to 32
Post a Comment
Thank you for vising