Ok, this is a different program and I can't seem to get this program to work. It's the function that wont work.
Can anyone help me out here?
using namespace std;
int Add(int firstNUM, int secondNUM)
cout <<"Tn the function now!" <<endl;
cout <<"The number " <<firstNUM << " and the number " <<secondNUM << " will now be added together" <<endl;
cout <<firstNUM <<" + " <<secondNUM <<"is the equation." <<endl;
int firstNUM, secondNUM, sumNUM;
cout <<"This is a function program, just checking to see how good I know functions." <<endl;
cout <<"Enter a number" <<endl;
cout <<"Enter another number" <<endl;
sumNUM = Add(firstNUM,secondNUM);