Skip to content

Commit

Permalink
feat: Add simple example of table
Browse files Browse the repository at this point in the history
  • Loading branch information
VishwajeetVT committed Dec 12, 2024
1 parent d3a34ca commit 82c026c
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package org.practice.dsa.simple;

public class MultiplicationTable {
public static void main(String[] args) {
printMultiplicationTable(5);
}

public static void printMultiplicationTable(int number) {
for (int i = 1; i <=10; i++) {
System.out.println(number*i);
}
}
}

0 comments on commit 82c026c

Please sign in to comment.