Created
February 15, 2015 01:37
-
-
Save cshtdd/6a2189de73405fbabc87 to your computer and use it in GitHub Desktop.
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
/* | |
loop-sample.cpp | |
*/ | |
#include <iostream> | |
using namespace std; | |
/* | |
# Build with the following command | |
g++ -Wall loop-sample.cpp -o loop-sample && ./loop-sample | |
*/ | |
int main() | |
{ | |
int myNumber = 0; | |
cin >> myNumber; | |
for (int i = 0; i < 4; i++) | |
{ | |
cout << "Alex"; | |
cout << " Saldana"; | |
cout << myNumber; | |
cout << " "; | |
} | |
cout << endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment