DeVry GSP115 Week 1 Assignment latest 2015
Week 1: Simple Data Types
Instructions
Complete the following assignments. Cut and
paste your finished code into a Word document, clearly identifying which
assignment it is. Also, capture the output of the program and paste that into
the Word document. If there are questions to be answered, put the answers after
the output. When you complete all three of this week’s assignments, save the
document as yourLastName_GSP115_W1_Assignments.docx. Submit it to the Week 1
assignment Dropbox.
1. Compile Time Bugs (TCO 4)
Find and fix the four (possibly five)
compile time bugs in the code at the end of this section. Compile time bugs
shown as errors when you compile, but the Visual Studio IDE also gives you
visual clues in the form of red squiggly underlines, as shown here . You will
actually see more than five errors, but they are all caused by just four or
five bugs. There is a case where you have either two bugs or one, depending on
what you think the error is. In one case, it can be fixed with a single change.
In the other case, it will take two changes to fix the problems.