Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 331 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 331 Bytes

Add-two-numbers

#include using namespace std;

int addition(int a,int b);

int main() { int a,b; int add;

cout<<"Enter first number: ";
cin>>a;
cout<<"Enter second number: ";
cin>>b;


add=addition(a,b);


cout<<"Addition is: "<<add<<endl;

return 0;

}

int addition(int a,int b) { return (a+b);

}