help with C++ode(n00b question)
ok, i am new at C++ and i am not sure why my code wont compile. now i probebly wrote it wrong, and i have tried many times to correct it, however i dont know what the problem is. yea, it is a simple program.
Code:
#include <iostream.h>
#include <stdlib.h>
int main()
{
using std::cin;
using std::cout;
int number1
int number2
cout << "enter the first number" ;
cin >> number1
cout << "enter the second number" ;
cin >> number2
if (number1 > number2)
cout << "number 1 is bigger";
if (number1 < number2)
cout << "number 2 is bigger" ;
if (number1 == number2)
cout << "they are the same";
return 0;
}