pingabc 发表于 2021-6-19 15:18:26

查看参考答案

刘颂舒 发表于 2021-6-19 15:59:50

懒狗李 发表于 2021-6-20 21:17:09

gkdgkd

抽张本命卡 发表于 2021-6-21 15:39:20

1

leftoneonline 发表于 2021-6-21 18:21:15

答案

lifhv 发表于 2021-6-22 09:39:56

1

msj20 发表于 2021-6-22 14:35:03

10

活TM憨批一个 发表于 2021-6-22 16:49:38

{:5_102:}

JingHe1997 发表于 2021-6-22 18:07:29

对一下答案

ESKIMO 发表于 2021-6-23 12:10:13

1

supr 发表于 2021-6-23 14:19:07

撒吃撒CDC D

Kangk丶 发表于 2021-6-23 17:19:48

3

J59527 发表于 2021-6-23 22:31:41

0.10个
1.10个
2.c、b、a
3.a=16,b=10,c=4
4.z=x>0?x:-x;
5.
A.
if(size>12)
{
        cost=cost*1.05;
        flag=2;
}
else
{
        bill=cost*flag;
}
B.
if(ibex>14)
{
        sheds=3;
}
else
{
        sheds=2;
}
help=2*sheds;
C.
if(score<0)
{
        printf("count=%d\n",count);
}
count++;
scanf("%d",&score);

ceee. 发表于 2021-6-23 22:57:20

{:5_90:}

山芋 发表于 2021-6-24 10:29:38

0.100次
1.10
2.5
3.a=13b=5c=9
4. x>=0?z=x;z=(-x)
5.
if(size>12){
cost*=1.05;
flag=2;
}
else{
bill=cost*flag;
}

liaoruihao 发表于 2021-6-24 17:13:17

1

C0up1e 发表于 2021-6-25 11:27:08

1

YHyuehen003 发表于 2021-6-25 15:25:24

朕想知道

古道月影 发表于 2021-6-26 11:13:03

0.81
1.10
2.a ,b ,c ;
3.a=14
b=3
c=9
4.x>=0? x=x:x=-x;
5.if (size > 12)
{
      cost = cost * 1.05;
      flag = 2;
}
   bill = cost * flag;



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



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

16beat 发表于 2021-6-27 03:54:10

{:10_281:}
页: 164 165 166 167 168 169 170 171 172 173 [174] 175 176 177 178 179 180 181 182 183
查看完整版本: S1E16:拾遗 | 课后测试题及答案