Top-Down Design :
- Start with the main problem
- Divide it into sub-problems
- Solve each sub-problem separately using functions
Structure charts visually show this hierarchy.
- Start with the main problem
- Divide it into sub-problems
- Solve each sub-problem separately using functions
Structure charts visually show this hierarchy.
main()
|
--------------------------------
| | |
produceTin() checkQuality() packTin()