#C268. Multiplication Table Generator
Multiplication Table Generator
Multiplication Table Generator
Given an integer \( n \) (with \(1 \le n \le 20\)), generate its multiplication table. The table is a matrix where the element in the \(i\)-th row and \(j\)-th column is given by the product \(a_{ij} = i \times j\). Each row of the table should be printed on a new line with the numbers separated by a single space.
This problem tests your ability to work with loops and formatted output in your chosen programming language.
inputFormat
A single integer (n) is provided via standard input, indicating the size of the multiplication table. It satisfies (1 \le n \le 20).
outputFormat
Print (n) lines to standard output. Each line must contain (n) space-separated integers corresponding to the multiplication table.## sample
1
1