multiplication table using while loop in java

Solutions on MaxInterview for multiplication table using while loop in java by the best coders in the world

showing results for - "multiplication table using while loop in java"
Alexander
11 Sep 2019
1public class MultiplicationTable {
2
3    public static void main(String[] args) {
4
5        int num = 9, i = 1;
6        while(i <= 10)
7        {
8            System.out.printf("%d * %d = %d \n", num, i, num * i);
9            i++;
10        }
11    }
12}