Write a program that outputs a table: the values of an integer, its square, and its cube for the integers 1 thru 20.
Write a function to compute each result. Do not use the math library.
Output one line of the table at a time.
sample output:
NUMBER SQUARE CUBE
1 1 1
2 4 8
3 9 27
4 16 64
5 25 125
6 36 216
7 49 343
8 64 512
9 81 729
10 100 1000
11 121 1331
12 144 1728
...