HOMEWORK 2 GRADING OUTLINE: --------------------------- Requirements: ------------- 1 Proper comments including name, assignment number and program description in opening comment, and at least one useful inline comment. 2 Proper use of whitespace, including proper and consistent indenting. 3 Descriptive, well formatted output. 4 Descriptive variable names. 5 Syntactically correct (compiles with no errors or warnings). 6 Correct output for all provided sample test cases. 7 Correct output for all legal test cases. Grade computation: ------------------ 7(Makes you weep at its beauty): Not possible for this assignment 6(Extra features or particularly elegant): Possibilities include support for user input of multiple data sets, and testing for proper input (e.g. only positive values). To be done properly some of these require language constructs not yet covered in class. 5(Satisfies all requirments - a job well done): 4(Meets general requirements with a few minor problems): Lacking one or two of requirements 1-4, or lacking requirement 7. 3(Serious problems): Lacking at most one of requirements 1-4 and lacking requirement 6 (but works for some non-trivial cases), or lacking two or more of requirements 1-4, and lacking requirement 7. 2(Extremely serious problems but demonstrates some effort and understanding): Lacking requirement 5. 1(Shows little effort and does not represent passing work):