Write a short program that prints the numbers 1 to 10 using a for loop. Then write

Question:

Write a short program that prints the numbers 1 to 10 using a for loop. Then write an equivalent program that prints the numbers 1 to 10 using a while loop.

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

Step by Step Answer:

Question Posted: