Programming Homework Help

I need help answering two short questions with an original answer pertaining to the attached program. You will also examine both the code and the output for inconsistencies and clarity. This Java co

I need help answering two short questions with an original answer pertaining to the attached program.

Get Your Custom Essay Written From Scratch
We have worked on a similar problem. If you need help click order now button and submit your assignment instructions.
Just from $13/Page
Order Now

You will also examine both the code and the output for inconsistencies and clarity. This Java code includes examples of for, while, and do-while loops.

Carefully read through the code line by line, then answer the following questions in a Microsoft Word document:

  1. What is the output of the program as it is written?
  2. What improvement(s) could be made to this code to make the output clearer or more accurate, or to make the code easier to maintain?

Note: You do not have to make the improvements in the Java program, although you certainly may. For this assignment, simply describe the things you see that would need to be improved to elevate the code and output to a more professional level. For the code, consider variable names and hardcoding. For the output, consider formatting/punctuation, repetition, accuracy of information, and wording.