Produce a program which demonstrates ..

hey guys does any one know how can I Produce a program which demonstrates the use of a user defined function called incrementInteger which when I pass an integer it increases this integer by one, and at the same time the function should return no value.

Last edited on
That's where references come in.
and how will that be
in a stupid pseudo code that i made myself just now:

function name = incrementInteger

return type = rhymes with poised

input declaration = int x

instruction = x is x add 1

exit

All the help you are going to get for homework.
Last edited on
How will that be If I want it as a program please ?
If you got this task, then you covered references already. Look it up in your materials.
->softwareStudent(14) read this link:

http://www.cplusplus.com/doc/tutorial/functions2/
Topic archived. No new replies allowed.