STRUCTURED ‘C’ CODE

 

• A key to well designed and understandable programs.

 

• Use indents, spaces and blank lines, to make the program look less cluttered, and give it a block style.

 

• Comments are essential to clarify various program parts.

 

• Descriptive variable names, and defined constants make the purpose of the variable obvious.

 

• All declarations for the program should be made at the top of the program listing.