Write an application that calculates the squares and cubes of the numbers from 0 to 10 and prints the resulting values in table format

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)

× How can I help you?