Use a namespace grouping to insert this declaration, void greeting();, in namespace Problem2. Then, in another, separate namespace grouping, add the definition of greeting()in namespace Problem2.

What will be an ideal response?

```
namespace Problem2
{
void greeting( );
}

namespace Problem2
{
void greeting( )
{
cout <<“Greetings from namespace Problem2.\n”;
```

Computer Science & Information Technology

You might also like to view...

Word includes predesigned templates for a cover letter

Indicate whether the statement is true or false

Computer Science & Information Technology

________ scrolling enables you to scroll through both documents at the same time using either of the two scroll bars

Fill in the blank(s) with correct word

Computer Science & Information Technology