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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!