|
Fundamental Programming Concepts
Summer 2000 |
|
Part | Points |
VoteCounter | 50 |
|
|
Total | 50 |
General Comments:
There should be comments in your .java file saying what each method does, including main. It is essential to include some comment saying what your overall
program does.
There is room for improvement on writing style for comments. Comments are often
unnecessarily wordy or awkwardly phrased. Please consult the style guide and Michael's solutions for examples of well-written
comments, and please try to improve your style on this important point of good programming.
During input validation, it is essential to output helpful error messages. Be sure those error messages are not factually incorrect. For instance,
do not state that you only accept positive numbers as input and then accept
0 as input. 0 is not a positive number; your error message is misleading.