1_1

public class Main { public static void main(String[] args) { printMultiplicationTable(); } public static void printMultiplicationTable() { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9; j++) { System.out.printf("%d x %d = %2d ", j, i, i*j); } System.out.println(); } } }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.