This is an assignment for my class, and I honestly don't know how to approach it. Anyone have any suggestions? It's not like any other program he's asked us to write:
Print a table of powers that prints x, x squared, x cubed, the square root of x, and the cube root of x with x going from 1 to 10:
To turn that into a table, there are two changes needed to the design.
Firstly, the layout of the results, a table would have a row of headings (the text stating what the column represents). Then on a separate line, the values printed out each underneath the corresponding heading.
The finishing touch would be to use a loop, to step through each value of x. printing out the values for that value of x each time.