Answers for "multiplication table using while loop in java"

0

multiplication table using while loop in java

public class MultiplicationTable {

    public static void main(String[] args) {

        int num = 9, i = 1;
        while(i <= 10)
        {
            System.out.printf("%d * %d = %d \n", num, i, num * i);
            i++;
        }
    }
}
Posted by: Guest on May-14-2021

Code answers related to "multiplication table using while loop in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language