I fianally made a program that will add :) , it wasn't as hard as i thought!
O and what is a php?Code:#include <iostream>
using namespace std;
int add ( int x , int y );
int main ()
{
int x;
int y;
cout << "Firt number to add:";
cin>> x;
cin.ignore();
cout << "Second number to add:";
cin>> y;
cin.ignore();
cout << "The sum is:" << add (x , y );
cin.get();
}
int add ( int x , int y )
{
return x + y;
}
