Week 1 Materials
I. Lecture Problem: Tire Dimension
- Here is the code that we developed during lecture:
Tire.java
- If you can improve the above solution, please do so
and e-mail me the improved version. Explain how it is improved.
Variations to the Lecture Solution
II. Graded Lab Problem: Paint Mix (due 16.10)
Common Mistakes
- All output must go to the named output file. No output
should go to the terminal window.
- The input file (paint.in) and output file (paint.out)
must be located in the same directory as the java files.
- Make sure to use the proper header for your e-mail
message. It should read something like this
Submission for John Doe, Jane Smith
- The only attachments in the e-mail should be plaintext .java
files. Do not zip these files together.
- Match the required output format exactly.
- A failed test case. This means that the program did
not calculate the correct answer for one or more of the
inputs. As a general tip, you should always test your
program on the sample data and also on input data that you
develop (remember to include boundary cases) before
submitting your solution to be graded.