Program 33
K. Dzwonkiewicz
PROGRAM 33
This program will use an array and two functions
Fill an array in a function with the first 20 perfect squares {1, 4, 9, 16….400}
The program will produce the following output:
PERFECT SQUARE LIST
# Number
1
1
2 4
3 9
4 16
5 25
6 36
7 49
8 64
9 81
10 100
11 121
12 144
13 169
14 196
15 225
16 256
17 289
18 324
19 361
20 400