Homework help

Remind yourself of how to write the most basic repetitive function of all, one that takes two parameters, A and B, and just prints all the numbers from A to B inclusive.






Is this a void function that they are asking for?


Welcome to the forum, now, in case you haven't found the answer on your textbook. Take a look at the tutorial:

http://www.cplusplus.com/doc/tutorial/functions/


Hello jumpingzeus,

It could be as simple as a for loop. It would depend an what you consider a function?

Andy
Topic archived. No new replies allowed.