any advice for this?
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int i;
cout << "Enter a number:";
cin >> i;
"if (i > 100)";
{
cout << " The number entered is greater than 100:";
cout << "The number enters is less than or equal to 100:";
}
return 0;
}
errors:
C:\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.exe - 4 error(s), 1 warning(s)