A step-by-step sequence of instructions that describes how to perform a computation.
Answers the question "What method will you use to solve this computational problem?"
Flowcharts:
Provides a pictorial representation of the algorithm using the symbols.
Structure Charts:
Provides a pictorial representation of the modules contained in the program.
Programming Style:
Standard form:
Function names starts in column 1 and is placed with the required parentheses on a line by itself.
The opening brace of the function body follows on the next line and is placed under the first letter of the function name.
The closing brace is placed by itself in column 1 as the last line of the function.
The final form of your programs should be consistent and should always serve as an aid to the reading and understanding of your programs.
Comments:
Explanatory remarks made within a program. Help clarify what the complete program is about, what a specific group of statements is meant to accomplish, or what one line is intended to do.
No comments