Easy
Table of Squares
Read n and print lines
i i² for i from 1 to n.Input
One integer n ≥ 1.
Output
n lines.
Sample 1
Input
3
Output
1 1 2 4 3 9
Sample 2
Input
1
Output
1 1
Output appears herei i² for i from 1 to n.One integer n ≥ 1.
n lines.
3
1 1 2 4 3 9
1
1 1
Output appears here