Skip to content

mat-32191/Add-two-numbers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

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);

}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published