Java – Loops

Provide your own short Java code example that uses a For or While loop. Be sure to test and describe what your code is doing.

Use Java comments to document your code.

*This must be completed to display Java comments above each line of code to explain what is happening. I must be provided with the Java code/comments so that I may compile, run, and test the program.*