I. Gaining knowledge about a problem is a part of troubleshooting/problem-solving.  The goal of part 1 is to increase your familiarity with error messages. Starting with the geometry program, try out each of the following errors.

After you make each change, compile the program, read the error message (if there is one). If there is no compile error run the program. Fix each error before moving to the next change. Compile/run to verify that the program is fixed before going to the next step.

Start by copying and pasting the required code changes (1 to 11) into a file.  Copy and paste the corresponding error message received into the file. When you have recorded the results of all 11 code changes show me the results. Email me if you do not finish in lab. Remember all the guidelines for sending emails. 

***Be sure to start with a program that compiles and runs before making each change.***

  1. Remove one of the open squiggly braces. 

Ex: Your error message/ results should be placed here for #1. {Fix the error before moving to #2.}

  1. Remove one of the close squiggly braces.
  2. Instead of main, write mian.
  3. Remove the word static.
  4. Remove the word public.
  5. Remove the word System.
  6. Replace println with Println.
  7. Replace println with print.
  8. Delete one of the parentheses.
  9. Add an extra parenthesis.
  10. Comment out the declaration of numSides.

II. Complete the assigned challenge/progression activities.

Remember to save completed coding exercises to appropriately names files. These will be useful as you complete future coding activities and projects.