18826230532 发表于 2018-9-15 21:52:48

xx

和光同尘S 发表于 2018-9-16 18:05:25

0.10
1.10
2.a/b/c
3.14.5.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;

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

摇摆0310 发表于 2018-9-17 16:51:01

给朕看

friedrichli 发表于 2018-9-17 20:32:03

answer

穿鞋子的猫 发表于 2018-9-18 19:41:24

1

凌宇歌 发表于 2018-9-18 21:10:09

huoxr 发表于 2018-9-19 12:44:08

对答案

会唱歌的锤石 发表于 2018-9-19 14:48:35

1

_luck 发表于 2018-9-19 19:10:54

1

princeloong 发表于 2018-9-19 23:00:33

1

ced1836522334 发表于 2018-9-20 14:24:21

h

最爱丽丽 发表于 2018-9-22 13:22:33

1

Iriscee 发表于 2018-9-22 22:33:45

{:10_334:}

xkcx1988 发表于 2018-9-23 11:56:14

0.10个
1.10个
2.c=5,b=c,a=b
3.a=14,c=9,b=5
4.z=(x>=0)?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;

    scanf("%d", &score);
    while(score >=0)
    {
count++;
   scanf("%d", &score);         

    }
printf("count = %d\n", count);

z8733537 发表于 2018-9-23 22:12:24

123

哎呦喂11 发表于 2018-9-24 15:29:24

1

fzb759460312 发表于 2018-9-25 09:36:10

0:10个A
1:10个B
2:C=5
3:a=9,b=5,c4
4:x>=0?z=x:z=-x
5:

swymh 发表于 2018-9-25 14:22:34

朕想知道

cyhzero 发表于 2018-9-25 14:46:29

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

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

C.
do {
              scanf("%d", &score);
      }
      while ((score = getchar()) != '\n') {
               
              if (score < 0) {
                                printf("count = %d\n", count);
                        }
                        count++;
                }

徐振宇 发表于 2018-9-25 18:37:20

答案
页: 19 20 21 22 23 24 25 26 27 28 [29] 30 31 32 33 34 35 36 37 38
查看完整版本: S1E16:拾遗 | 课后测试题及答案