春风得意 发表于 2017-8-24 10:24:22

{:5_98:}

蜗笼 发表于 2017-8-25 13:45:31

查看答案

06liukai 发表于 2017-8-30 14:42:24

答案

NIKO0BUT 发表于 2017-8-30 22:03:33

查看

我叫萌萌将 发表于 2017-8-31 22:41:56

打卡咯!

小罗 发表于 2017-9-1 09:51:46

对答案

glk11631 发表于 2017-9-4 12:53:29

看答案

yzx3824 发表于 2017-9-6 11:47:52

朕想知道!

Assistant 发表于 2017-9-7 16:21:00

0. 10
1. 0
2. a
3. 14 5 9
4. z = x<0?-x:x

懒得取名字啊 发表于 2017-9-8 05:39:47

10
12
559
z=x<0?x=-x:x

lanhoo 发表于 2017-9-8 08:53:51

0.100
1.10
2.c,b,a
3.a==15,b==5,c==10
4.z=x<0?-x:x;
5.A.

if (size > 12)
{
        bill = cost * 1.05;
        flag = 2;
}
else
{
        bill = cost * flag;
}
B.
if (ibex > 14)
{
      sheds = 3;
}
sheds = 2;
help = 2 * sheds;

C.

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

VisionSo 发表于 2017-9-8 11:02:52

求答案

啊哈哈君233 发表于 2017-9-9 09:17:07

1

Geoff 发表于 2017-9-11 10:59:16

真想知道

qwqu 发表于 2017-9-14 11:52:25

0. 10
1. 0
2. 5
3. a=14
b=5
c=9
4.if(x>=0)
{
z = x;
}
else
{z = -x;}
5.
if (size > 12)
{
       cost = cost*1.05;
flag = 2;
}
goto b;
a:      cost = cost * 1.05;
      flag = 2;
b:      bill = cost * flag;

大象吐水 发表于 2017-9-15 20:51:03

0,100;
1,10次;
3,a;

Res03Wade 发表于 2017-9-16 22:58:26

ok

Wu! 发表于 2017-9-17 00:14:35

0 10
10
2
3 a= 16
   b=4
   c=10
4 z=x>=0,x1<0?
      x=x:x=-x
5 size>12,x<12? cost=cost*1.05:bill=cost*flag
ibex>14 ibex<14? shes=3:help=2*2

0#include <stdio.h>

int main()
{
      double a = 10000, b = 10000;
      int count = 0;
      do
      {
            a = a + 10000 * 0.1;
            b = b + b * 0.05;
            count++;

      }while(a > b);
      printf("%d年后,黑夜投资金额超过了小甲鱼\n小甲鱼投资金额为:%.2f\n黑夜的投资金额为:%.2f\n",count, a , b );


      return 0;
}
1

#include <stdio.h>

int main()
{
      double a = 4000000;
      int count = 0;
      do
      {
            a = a * 0.08 + a;
            a = a - 500000;
            count++;
      }while(a >= 0);
      printf("%d年后,小甲鱼败光的所有家产,再次回到一贫如洗.....",count);


      return 0;
}
2
3

fwinmachao 发表于 2017-9-21 14:23:02

一睹为快~

谱写未来 发表于 2017-9-23 22:18:01

看看答案。
页: 2 3 4 5 6 7 8 9 10 11 [12] 13 14 15 16 17 18 19 20 21
查看完整版本: S1E16:拾遗 | 课后测试题及答案