I need to write a code that uses a "while" statement to prompt the user for a number and then creates a table with one column 1-to the number they chose and another column of the squares of each number. Ex. 1 1
2 4
3 9...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.