Write a for loop that produces the following output: 1 4 9 16 25 36 49 64

Question:

Write a for loop that produces the following output:

1 4 9 16 25 36 49 64 81 100

For added challenge, try to modify your code so that it does not need to use the * multiplication operator.

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

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: