#include <iostream>
using namespace std;
int main ()
{
int A,B,Q,R;
while (cin >> A)
{
A = (B*Q)+R;
B = 4;
R < 4;
R >-1;
if(R==0)
{
cout << "閏年" <<endl;
}
if(R==1)
{
cout << "平年" <<endl;
}
if(R==2)
{
cout << "平年" <<endl;
}
if(R==3)
{
cout << "平年" <<endl;
}
}
return 0;
}
#include
using namespace std;
int main ()
{
int A,B,Q,R;
while (cin >> A)
{
A = (B*Q)+R;
B = 4;
R < 4;
R >-1;
if(R==0)
{
cout << "閏年" <<endl;
}
if(R==1)
{
cout << "平年" <<endl;
}
if(R==2)
{
cout << "平年" <<endl;
}
if(R==3)
{
cout << "平年" <<endl;
}
}
return 0;
}
A = (B*Q)+R;
B,Q,R 都還沒確定
所以這樣指派是沒有意義的
B = 4;
R < 4;
R >-1;
至於這個都只是判斷式而已
所以沒有神麼作用