Can anyone help me to figure out this problems? Include is the program and the erros.
#include <iostream>
int main()
{
int i;
cout <<"Enter a number:";
cin >> i;
"if (i > 100)";
{
cout <<"The number entered is greater than 100.";
}
return 0;
}
:\windows\desktop\ex3.cpp(7) : error C2065: 'cout' : undeclared identifier
c:\windows\desktop\ex3.cpp(7) : error C2297: '<<' : illegal, right operand has type 'char [16]'
c:\windows\desktop\ex3.cpp(8) : error C2065: 'cin' : undeclared identifier
c:\windows\desktop\ex3.cpp(8) : warning C4552: '>>' : operator has no effect; expected operator with side-effect
c:\windows\desktop\ex3.cpp(11) : error C2297: '<<' : illegal, right operand has type 'char [40]'
Error executing cl.exe.
ex3.obj - 4 error(s), 1 warning(s)