Using only the programming techniques you learned in this chapter, write an application that calculates the squares

Question:

Using only the programming techniques you learned in this chapter, 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.

number square cube 0 1 8 27 64 125 216 343 512 0 1 23456789 10 0 1 4 9 16 25 36 49 64 81 100 729 1000

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Java How To Program Late Objects Version

ISBN: 9780136123712

8th Edition

Authors: Paul Deitel, Deitel & Associates

Question Posted: