Write an application that calculates the squares and cubes of the numbers from 0 to 10 and prints the resulting values in table format; as shown below. (Use the formatting for printing)
Note: Your program output should look as shown below:
number square cube 0 0 0 1 1 1 2 4 8 3 9 27 16 64 5 25 125 6 36 216 7 49 343 8 64 512 9 81 729 10 100 1000
Note: you should Include the screenshot of the program output as a part of your answer: Otherwise, zero marks will be awarded.