Lab 4

For this lab you are to write three problems:
  • 5.18 with the input all be generate by one program with the number of lines being inputted from the user being between 0 and 9
  • Problem 5.29
  • Expand your calculator to continue to do the same operation until 0 is inputted. For example if addition is specified, 1 2 3 4 5 0 would result in 15. For more of a challenge, let the user specify a new operation every time the 0 is entered until an s (for stop) is entered and then the program ends

What to turn in

A zip folder with:
  1. The java code for all three programs
  2. 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

Challenge

none (except for what is describe in the expanded calculator problem)

Due Date is found on Canvas


This topic: CenterForComputing > WebHome > Syllabi > ITSC121F2019Syllabus > ITSC121F2019Lab4
Topic revision: r1 - 2021-09-03 - cathybareiss
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback