Where is the error ?

I just started learning c++ and im having some issues with this (compiled with Dev-C++)

#include <cstdlib>
#include <iostream>

using namespace std;

int addition(int num1, int num2)
{
return num1 + num2;
}
int subtraction(int num1, int num2)
{
return num1 - num2;
}
int moltiplication(int num1, int num2)
{
return num1 * num2;
}
int division(int num1, int num2)
{
return num1 / num2;
}

int main()
{
int number1;
int number2;
//addiction
cout << " Digit a number you d like to add. \n number1: ";
cin >> number1;
cout << " Now digit the second numer. \n number2: ";
cin >> number2;
cout << " The answer is: " << addiction(number1, number2) << endl;

//subtraction
cout << " Digit a number you d like to subtract. \n number1: ";
cin >> number1;
cout << " Now digit the second numer. \n number2: ";
cin >> number2;
cout << " The answer is: " << subtraction(number1, number2) << endl;

//moltiplication
cout << " Digit a number you d like to moltiply. \n number1: ";
cin >> number1;
cout << " Now digit the second numer. \n number2: ";
cin >> number2;
cout << " The answer is: " << moltiplication(number1, number2) << endl;

//division
cout << " Digit a number you d like to divide. \n number1: ";
cin >> number1;
cout << " Now digit the second numer. \n number2: ";
cin >> number2;
cout << " The answer is: " << division(number1, number2) << endl;

//end program
cout << endl << endl; }
cout << " The answer is: " << addiction(number1, number2) << endl;
should be
cout << " The answer is: " << addition(number1, number2) << endl;

don't forget to return something to the operating system.
thanks
Topic archived. No new replies allowed.