Simple function header

Mar 7, 2017 at 5:06pm
I'm studying for a C++ test and I want to make sure I got the answer write. The practice question says: Write function header only- function PrintIt which will receive an integer n, and prints all numbers from 1 to n. It does not return a value.

Thank you in advance!

Last edited on Mar 7, 2017 at 7:48pm
Mar 7, 2017 at 5:17pm
you have been given the function name:
PrintIt
, the return type:
It does not return a value.
and the argument list:
which will receive an integer n

so now you have to bring them all together in the function declaration which I assume is what they mean by
Write function header only
Topic archived. No new replies allowed.