In this program we've broken up the complex operation of saying "Hello World" into two steps:
But this program is simpler than expected. What's happening?
#include <iostream>
int main()
{
/* Do the greeting
std::cout << "Hello ";
/* Now identify who we are greeting */
std::cout << "World\n";
return (0);
}
Hint 1:
It looks like there are two std::cout statements in this program.
There are not.
Hint 2: It looks like there are two comments in this program. There are not.
Hint 3: There is only one comment in the program and it's much longer than expected.