gy1768532 发表于 2020-8-22 19:56:11

学习学习

302751794 发表于 2020-8-22 23:48:24

{:10_282:}

每天学习8小时 发表于 2020-8-23 11:48:43

0、100个
1、9个
2、c
3、b=4,a=c=16
4、z = abs(x)

lezhonzhen 发表于 2020-8-24 18:11:45

1

奇诺之旅 发表于 2020-8-25 13:42:19

0.100
1.11
2.
3.
4.z=x>0?x:-x
5.A.
        if(size>12){
                cost = cost*1.05;
                flag = 2;
        }
        bill = cost*flag;
B.
    sheds=2;
        help = 2*sheds;
C.
        while(scanf("%d",&score)){
                if(score<0){
                        printf("count = %d\n",count)
                        break;
                }else{
                        count++;
                }
        }

香草盐Nacl 发表于 2020-8-25 18:57:36

{:5_102:}

heyanglearning 发表于 2020-8-25 21:39:56

谢谢

1310966 发表于 2020-8-25 22:20:17

daan

小甲鱼的么么哒 发表于 2020-8-25 23:57:40

答案

13072934554 发表于 2020-8-26 09:07:17

1

1571505829 发表于 2020-8-26 13:56:07

00

凉夜雨 发表于 2020-8-26 16:21:09

烦人的兔子{:5_90:}

williamdzh 发表于 2020-8-26 17:17:21

{:10_257:}

芬格尔 发表于 2020-8-26 18:46:42

查看参考答案

ctwss 发表于 2020-8-26 22:42:07

鱼c有你更精彩

小葱丿 发表于 2020-8-27 10:53:41

123

君绾墨 发表于 2020-8-27 12:59:38

动动手3不会....

余元 发表于 2020-8-27 15:53:09

0. 100
1. 10
2. a
3. a = 14, b = 5, c = 9
4.        x >= 0 ? z = x : 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.
if (score < 0)
{
        stage2: printf("count = %d\n", count);
}
count++;
scanf("%d", &score);


0.#include<stdio.h>

int main()
{
        int year;
        float jiayu = 10000, heiye = 10000;
       
        while(jiayu >= heiye)
        {
                jiayu += 10000 * 0.1;
                heiye += heiye * 0.05;
                year++;
        }
       
        printf("%d年后,黑夜的投资额超过小甲鱼!\n", year);
        printf("小甲鱼的投资额是:%.2f\n", jiayu);
        printf("黑夜的投资额是:%.2f\n", heiye);
        return 0;
}

1.#include<stdio.h>

int main()
{
        int year, moeny = 400;
       
        while(moeny > 0)
        {
                moeny -= 50;
                moeny += moeny * 0.08;
                year++;
        }
       
        printf("%d年后,小甲鱼败光了所有家产,再次回到一贫如洗......", year);
        return 0;
}

2.

oooooook 发表于 2020-8-27 16:48:24

{:10_257:}

cccccd 发表于 2020-8-27 20:45:04

{:5_90:}
页: 112 113 114 115 116 117 118 119 120 121 [122] 123 124 125 126 127 128 129 130 131
查看完整版本: S1E16:拾遗 | 课后测试题及答案