The Assignment
Working with your partner(s), view the C++ program called FixTheProgram.cpp (as a PDF file). In this activity, you will be examining the code but you will NOT be running it.
You and your partner are to analyze the program for style, syntax and logic. Using the Adobe Acrobat Reader app on your iPad, add comments to the code to identify:
- Areas where the code violates the style guidelines, using the C++ Coding Guidelines (on Canvas) as your style guide. Clearly mark the offensive statements and/or terms, and include a note about how to fix it.
- Any syntax or logic errors you see. This program is designed to input an income and a number of exemptions six times and then, after the six sets of input are received, display the six amounts of taxes due. As it stands right now the code will not compile.
Don’t forget to save the PDF! When you have completed the assignment, show it to the instructor.