I just got hold of Visual C++ 6 and i am trying the followinf code. The only problem is the compiler says i have 1 error but i'm not sure where.
Here is the code.
Any ideas on what the problem isCode:#Include <iostream> Using namespace std; int main() { int intNumber; cout << "Please enter a number"; cin >> intNumber; if (intNumber > 10) { cout << "The Number is bigger than 10"; } else { cout << "The number is less than 10"; } return 0; }
Jenova




Reply With Quote