主题:C++
#include<iostream.h>
void main()
{int m;
while (m<2000&&m>1900)
{if (m%4==0,m%100!==0,m%400==0);
{cout<<"今年为:"<<闰年<<endl;}
else
cout<<"今年为:"<<非闰年<<endl;
}
}那里有问题啊我看不出来请指教
void main()
{int m;
while (m<2000&&m>1900)
{if (m%4==0,m%100!==0,m%400==0);
{cout<<"今年为:"<<闰年<<endl;}
else
cout<<"今年为:"<<非闰年<<endl;
}
}那里有问题啊我看不出来请指教