Grading
Home General Info Course Schedule Homework Grading Announcement

 

Your program will be graded with the following guideline:

Correctness
File Header Block
Spacing
Leave a space between each two comma-separated variables in one line.
Leave a space on either side of operator.
Leave a space after the left parenthesis and before the right parenthesis.
Leave a blank line between two consecutive blocks that have different functionality.
Indentation
Show different levels of your code.
Block
Each pair of curly braces should be lined up, and they should line up with the first character of the previous line of the block.
Comment
Necessary explanations.
Consistency

Other Programming Style Reference (in the textbook):

Chapter 1 2 3 4 5 6 7 8 9 10 11 12
Page 37 82 130 157 217 271 354 399 433 472
 

CS604 Introduction to Programming/C    University of New Haven
Copyright (C) 2000 Huiling Ma