Skip to content

Instantly share code, notes, and snippets.

@sukeesh
Created August 4, 2017 04:17
Show Gist options
  • Save sukeesh/f1451b83d2811f36457a39755020761c to your computer and use it in GitHub Desktop.
Save sukeesh/f1451b83d2811f36457a39755020761c to your computer and use it in GitHub Desktop.
#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