Created
August 5, 2014 19:12
-
-
Save P1xt/f2e643c558380268ef2c to your computer and use it in GitHub Desktop.
Exercise 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Change the "Hello, World!" example above to display another line. | |
* If Spock were doing this exercise, he might add to | |
* it so that it would display: | |
* | |
* Hello, World! | |
* Live long and prosper. | |
* | |
**/ | |
#include <iostream> | |
using namespace std; | |
/** | |
* @brief main() | |
* | |
* @return int | |
*/ | |
int main() { | |
cout<<"Hello, World!\n"; | |
cout<<"Live long and prosper."; | |
cin.get(); | |
return 0; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment