Programming Code Center(PCC)
[JAVA]

(PCC)::[How-to-write-Java-Program-to-Generate-Multiplication-Table]::[java]

File Name : MultiplicationTable.java

//Example : Generate Multiplication Table using for loop
public class MultiplicationTable {

    public static void main(String[] args) {

        int num = 5;
        for(int i = 1; i <= 10; ++i)
        {
            System.out.printf("%d * %d = %d \n", num, i, num * i);
        }
    }
}

Output :

MultiplicationTable.jpg