230 likes | 422 Views
Modular programming (functions) Functions without Arguments Functions with Input Arguments Functions with Simple Output Parameters Scope of Names Formal Output Parameters as Actual Arguments.
E N D
Modular programming (functions)Functions without ArgumentsFunctions with Input ArgumentsFunctions with Simple Output ParametersScope of NamesFormal Output Parameters as Actual Arguments
Experience has shown that the best way to developand maintain a large program is to construct it from smaller pieces or modules, eachof which is more manageable than the original program. This technique is called divideand conquer.
Sample 2 Sample 3
Sample 4 Sample 5
Sample 6 Sample 7
Sample 8 Sample 9