multiplying with the for of loop\ code example
Example: how to multiply a number by itself using for loop in java
int originalNumber = 1;
for (int multiple = originalNumber; multiple <= 10000; multiple += originalNumber) {
// Use multiple however you want to
}