ÎÒ2¸ö¶¼¿ÉÒÔÖ´Ðа¡£¬»°ËµÄã±àÒëû³ö´íÂð£¿ÊÇC++°É£¬ÄãÔõô¡°#include<iostream.h>¡±»¹¼ÓÁ˸ö¡°.h¡±ÄØ£¬¶øÇÒ»¹ÉÙÁË¡°using namespace std£»¡±
Ó¦¸ÃÊÇÕâÑùµÄ°É£¡ÎÒÊÇÓÃVS2008µÄ¡£
#include<iostream>
using namespace std;
int main()
{
int n,m;
cin>>n;
m=n%2;;
if(m==1)
cout<<"number"<<endl;
if(m==0)
cout<<"eve number"<<endl;
return 0;
}
[
±¾Ìû×îºóÓÉ KLZERO ÓÚ 2012-10-24 13:45 ±à¼ ]