八戒253 发表于 2021-1-30 09:26:34

嘿嘿,兔子问题可以用递归来做

19816092786 发表于 2021-1-30 11:10:31

查看答案

石大学渣 发表于 2021-1-30 12:50:53

1

fuze123 发表于 2021-1-30 14:00:51

。。

白桦之王 发表于 2021-1-30 15:09:21

0.10次
1.不会打印'B'
2.a=5
3.a=14,b=5,c=9
4.z = x > 0 ? x:-x
5.if (size > 12)
{
         cost = cost * 1.05;
         flag = 2;
}
bill = cost * flag;

if (ibex > 14)
{
      sheds = 3;
}
sheds = 2;
help = 2 * sheds;

while(1)
{
scanf("%d", &score);
if (score < 0)
{
      printf("count = %d\n", count);
      break;
}
count++;
}

dghg 发表于 2021-1-30 16:46:08

yanmomomimomo 发表于 2021-1-30 18:03:41

{:10_288:}

文竹 发表于 2021-1-30 21:05:15

0.10
1.9
2.
3.1 5 4
4.int z;
int x;
if(x>=0)
z=x;
else if(x<0)
z=-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

while(flage){
if (score < 0)
{
       printf("count = %d\n", count);
flag=0;
}
count++;
scanf("%d", &score);
}

F--kName 发表于 2021-2-1 11:23:19

look look

3085182369 发表于 2021-2-1 12:35:57

1

biubiubiu_yoho~ 发表于 2021-2-1 18:14:48

查看参考答案

tonyshtark 发表于 2021-2-1 18:58:59

谢谢鱼鱼

BlackMonkey 发表于 2021-2-1 20:38:46

燃烧的清汤 发表于 2021-2-2 13:23:10

噩梦

陨鲸 发表于 2021-2-2 15:29:43

00

hsboy 发表于 2021-2-2 16:21:54

{:10_277:}

DoubleSAO 发表于 2021-2-2 16:22:27

1

zzp1996 发表于 2021-2-2 16:43:15

1

JokerDM 发表于 2021-2-2 19:07:30

查看参考答案

kaidada 发表于 2021-2-2 22:37:59

1
页: 139 140 141 142 143 144 145 146 147 148 [149] 150 151 152 153 154 155 156 157 158
查看完整版本: S1E16:拾遗 | 课后测试题及答案