| softwareStudent (17) | |
|
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
|
|
| Athar (4466) | |
| That's where references come in. | |
|
|
|
| softwareStudent (17) | |
| and how will that be | |
|
|
|
| DeXecipher (170) | |
|
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
|
|
| softwareStudent (17) | |
| How will that be If I want it as a program please ? | |
|
|
|
| Athar (4466) | |
| If you got this task, then you covered references already. Look it up in your materials. | |
|
|
|
| Kart (58) | |
|
->softwareStudent(14) read this link: http://www.cplusplus.com/doc/tutorial/functions2/ | |
|
|
|