Programming Steps Review
Define the mathematical model for the problem, which the computer can solve.
Figure out what the correct output will look like, for program validation.
Decide what input data and variables to use.
Decide what procedures and actions to use.
Decide what the output should look like.
Start with a small program. Compile and debug as you slowly add details.
When in doubt, choose a simple approach.
Validate the program output with the simplest version of the program.
Add details to complete the program.
Double check the assignment to make sure the program meets all requirements (comments).
Document your work by printing the program and it’s output.