Error 1 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int h:\prog\consoleapplication1\consoleapplication1\source.cpp 4 1 ConsoleApplication1
#include<iostream>
using namespace std;
main()
{
int x, y, z;
z = x + y;
cout << "enter the first number" << endl;
cin >> x;
cout << "enter the second number" << endl;
cin >> y;
cout << "the sum is" << z << endl;