#C11841. Multiplication Matrix
Multiplication Matrix
Multiplication Matrix
This problem requires you to generate an n x n multiplication matrix. For a given positive integer n, construct an n x n matrix where the element in the i-th row and j-th column is \((i+1)\times(j+1)\).
If n = 0, the output should be empty (i.e. no output is printed).
The task is to read the integer from standard input and print the matrix to standard output. Each row of the matrix should be printed on a new line and the numbers in each row should be space-separated.
inputFormat
The input consists of a single integer n (\(0 \le n \le 100\)).
This integer is read from standard input.
outputFormat
If n > 0, print an n x n multiplication matrix where the element at row i and column j is \((i+1)\times(j+1)\). Each row should be output on a separate line with its elements separated by a single space.
If n = 0, output nothing.
## sample1
1