📜  如何在java代码示例中使用for循环将一个数字与自身相乘

📅  最后修改于: 2022-03-11 14:52:19.989000             🧑  作者: Mango

代码示例1
int originalNumber = 1;
for (int multiple = originalNumber; multiple <= 10000; multiple += originalNumber) {
    // Use multiple however you want to
}