I am trying to solve this exercise ->Write a Java program that prints all the powers of a number under 100: 3 Output: 3, 9, 27, 81.
This is my code but it prints o