大大们来看看啊!这个程序怎么回事。
#include <iostream>using namespace std;
int mian()
{
int x,y;
cout<<"Enter x and y:";
cin>>x>>y;
if(x!=y)
if(x>y)
cout<<"x>y"<<endl;
else
cout<<"x<y"<<ednl;
else
cout<<"x=y"<<endl;
}
调试后出现:
--------------------Configuration: 2-3 - Win32 Debug--------------------
Compiling...
2-3.cpp
D:\VC98\2-3.cpp(12) : error C2065: 'ednl' : undeclared identifier
Error executing cl.exe.
2-3.exe - 1 error(s), 0 warning(s)
我不知道要怎么改,错在哪儿。求助网络大侠,谢过!