why does this code return one more number than what i want?

前端 未结 0 1715
野趣味
野趣味 2020-12-17 06:11

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

相关标签:
回答
  • 消灭零回复
提交回复
热议问题