What are the three steps in using a function construct


Problem

1. What are the three steps in using a function?

2. Construct function prototypes that match the following descriptions:

a. igor () takes no arguments and has no return value.

b. tofu() takes an int argument and returns a float.

c. mpg() takes two type double arguments and returns a double.

d. summation() takes the name of a long array and an array size as values and returns a long value.

e. doctor() takes a string argument (the string is not to be modified) and returns a double value.

f. of course() takes a boss structure as an argument and returns nothing.

g. plot() takes a pointer to a map structure as an argument and returns a string.

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: What are the three steps in using a function construct
Reference No:- TGS02635152

Expected delivery within 24 Hours