我这个蠢批 把一年当成20个月了
#include <stdio.h>
int main()
{
int CNT = 2, M = 0, LYT = 0,YYT = 0, ZTZ; //有2只成年兔子 0只一月兔 0只零月兔
while(M <= 24)
{
CNT = CNT + YYT; //成年兔子数量 = 已成年兔子数量 + 一月兔数量
YYT = LYT; // 一月兔数量 = 零月兔数量
LYT = CNT; //零月兔数量 = 成年兔数量
M = M + 1; // 时间流逝
}
ZTZ = CNT + YYT + LYT;
printf("总兔子数量=%d\n", ZTZ);
return 0;
}
我写的这个 也可以
1111
666
1
123
1
666666666666666666666
1
0 100个
1 11个B
2 a,b,c
3 a=15
b=5
c=10
4 z=x>0?x:-x
5 A if (size > 12)
{
cost = cost * 1.05;
flag = 2;
}
bill = cost * flag;
B if (ibex > 14)
{
sheds = 3;
}
sheds = 2;
help = 2 * sheds;
C
if (score < 0)
{
printf("count = %d\n", count);
}
count++;
scanf("%d", &score);
1
朕想知道
2
1
jk
1
对对答案~
答案
0
答案