cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Simple function header
Simple function header
Mar 7, 2017 at 5:06pm UTC
esokoletsky
(32)
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 UTC
Mar 7, 2017 at 5:17pm UTC
gunnerfunner
(2127)
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.