Analyzing a Program Containing Loops
Analyzing a Program Containing Loops
Resource: Week Three Analyze Assignment Zip File
For this assignment, you will be analyzing the Java™ code in the linked Week Three Analyze Assignment Zip File, and predicting the results.
You will also examine both the code and the output for inconsistencies and clarity. This Java™ code includes examples of for, while, and dowhile 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.
Submit your completed Word document using the Assignment Files tab.
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.