From BU Computer Science
Jump to navigation Jump to search

Lab 3

For this lab you are to write two programs: 5.6 and 5.8. Do NOT look up the solutions on the Internet!

What to turn in

A zip folder with:

  1. The java code for 5.6. Try to be precise on the exact format of the output.
  2. The java code for 5.8
  3. A word document that includes:
    1. Your name
    2. The time it took to write each program
    3. A testing report that includes:
      1. Why you think each program is correct (sample input/output)
      2. Two examples of bad input for each problem that has input

Additional notes

  • Don't forget to comment your code.
  • Watch your spacing and line length
  • Use good variable names
  • Use good prompts


Be sure to get a complete, correct, working program first

  • Adapt problem 5.6 to allow for the input of the number of lines to display

Due Date is found on Canvas