Created
August 4, 2017 04:17
-
-
Save sukeesh/f1451b83d2811f36457a39755020761c 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 add(int a, int b){ | |
int sum = a + b; | |
return sum; | |
} | |
int main(){ | |
int a, b; | |
cin >> a >> b; | |
cout << add(a, b); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment