Answers for "how to multiply a number by itself using for loop in java"

0

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
}
Posted by: Guest on March-17-2020

Code answers related to "how to multiply a number by itself using for loop in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language