This document contains some of the coding standards that the students have to follow , when they are writing the programs. Indent style : Indent the entire body of each function to one level of indentation. Use three spaces or tab per level of indent. Select the size of the indentation you prefer and uniformly apply that throughout the program. If there are several levels of indentation, each level should be intended the same additional amount of space. Indent the statement/s in the body of an if statement If a statement is split across two or more lines, indent all subsequent lines. Indent the statement/s in the body of an while/for statements. Comments: Describe the purpose of each function in t...
Comments
Post a Comment