Jak pomnożyć liczbę samą dla pętli w Javie

int originalNumber = 1;
for (int multiple = originalNumber; multiple <= 10000; multiple += originalNumber) {
    // Use multiple however you want to
}
Fragile Ferret