Last active
March 31, 2016 16:34
-
-
Save steveobbayi/94071d2f05c8b130cd652f09ca23e493 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
#include <iostream> | |
using namespace std; | |
int squareThis(int x){ | |
return x*x; | |
} | |
int main(){ | |
cout << squareThis(2); // returns 4 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment