Initial commit

This commit is contained in:
Michael Reber
2019-11-15 12:59:38 +01:00
parent 40a414d210
commit b880c3ccde
6814 changed files with 379441 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
Function example
Create your first function in C++
#include <iostream.h>
int AddIt(int x,int y)
{
return (x + y);
}
int main()
{
int a,b,c;
cout<<"Please enter two integers to add :\n";
//get the two integers
cin>>a;
cin>>b;
//call the AddIt function
c = AddIt(a , b);
//display the answer
cout<<"The answer is : "<<c<<endl;
return 0;
}