Building programs from existing information means:
-Reusing known logic
-Breaking large problems into smaller tasks
-Using previously tested code
This idea is strongly emphasized in structured programming approaches.
We already know:
How to count tins
How to check tins
How to print reports
So instead of rewriting logic again and again, we reuse it by creating functions.
-Reusing known logic
-Breaking large problems into smaller tasks
-Using previously tested code
This idea is strongly emphasized in structured programming approaches.
We already know:
How to count tins
How to check tins
How to print reports
So instead of rewriting logic again and again, we reuse it by creating functions.