UNIT 4
Modular Programming
IT 103
Computer Programming 1
Lesson 4
Basic Function Designs
IT 103
Computer Programming 1
The Four Basic Function Designs
The four basic functions designs based on the return
types and parameter are as follows:
1. void functions with no parameters
2. void functions with parameters
3. non-void functions with no parameters
4. non-void functions with parameters
IT 103
Computer Programming 1
void functions with no parameters
IT 103
Computer Programming 1
void functions with parameters
IT 103
Computer Programming 1
non-void functions with no parameters
IT 103
Computer Programming 1
non-void functions with parameters
IT 103
Computer Programming 1