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:
- The java code for all three programs
- A word document that includes:
- Your name
- The time it took to write each program
- A testing report that includes:
- Why you think each program is correct (sample input/output)
- 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