CSC 215 - Programming Standards


Programs must be properly indented; that is, each logical level must be indented an additional amount (your text shows how to properly indent programs). There are several possibilities for the placement of braces but we will use the following convention:

while
{
...
}

Indentation should also be to a consistent level. You may indent 3, 5, or 8 spaces but make sure you are consistent.

Do not use global variables.

Note: You will be penalized 5% of your final grade if you do not follow these guidelines.

Each program must include an opening block comment along the following lines:

//File name :
//Author :
//Email Address:
//Assignment # :
//Problem # :
//Description :
//
//