Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Multiplication Table in java

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 
", num, i, num * i);
        }
    }
}
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #Multiplication #Table #java
ADD COMMENT
Topic
Name
7+7 =