I am not sure what I am doing so wrong. Please help.
#include <iostream>
using namespace std;
int addition(int x, int y, int z);
int main()
int x,y,z;
int main(){
cout << "Type a number. ";
cin >> z;
cout << "Type another. ";
cin >> x;
z = x+y;
cout << "The two you added is " << z << "\n";
}
int addition(int x, int y, int z);
{
return z=(x+y);
}