Given a non-negative number N, the number of array elements (N<=100)
Fill the array with elements according to the following rule and display it on the screen in one line separated by a space:
Sample Input and Output
Test No. |
Input data |
Imprint |
1 |
5 |
1 4 9 16 25
|