Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
35 views

A Lesson4-Basic-Function-Designs

This document discusses the four basic function designs in programming based on whether they return a value and whether they take parameters. The four designs are: 1) void functions with no parameters, 2) void functions with parameters, 3) non-void functions with no parameters, and 4) non-void functions with parameters. Each design is then explained in its own section.

Uploaded by

Satoru Fujinuma
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

A Lesson4-Basic-Function-Designs

This document discusses the four basic function designs in programming based on whether they return a value and whether they take parameters. The four designs are: 1) void functions with no parameters, 2) void functions with parameters, 3) non-void functions with no parameters, and 4) non-void functions with parameters. Each design is then explained in its own section.

Uploaded by

Satoru Fujinuma
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

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

You might also like