Question: Post an example of an output module, and a call to your module. The module cannot be named hello, and the message displayed must include
Post an example of an output module, and a call to your module. The module cannot be named hello, and the message displayed must include your name.
For example:
// // An output module that displays a greeting on the screen. // void hello() { std::cout << "Greetings from Prof. Krofchok!" << std::endl; } To call the module, we would write the following:
hello();
Your answer must include an appropriate comment describing the module, and use valid C/C++ syntax.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
