leon0149 发表于 2020-4-20 22:36:55

1

PYXE 发表于 2020-4-21 09:28:50

1

miku0831 发表于 2020-4-21 10:16:20

0.10次
1.10次
2.int c=5,b=c,a=b;
3.a=(3,4,9,14)b=3c=9
4.unsigned int = x; int = z; z=x;
5.

852330277 发表于 2020-4-21 14:44:45

111

2410337637 发表于 2020-4-21 16:51:57

1

Song. 发表于 2020-4-23 09:15:33

棒棒棒

kao77471891 发表于 2020-4-23 11:06:02

注册迟了!!!

reaixuexidelixi 发表于 2020-4-23 11:25:43

看看

ckjf1234 发表于 2020-4-23 15:40:47

{:5_90:}

Acesu 发表于 2020-4-23 16:38:59

.

9312520 发表于 2020-4-23 21:12:01

朕想知道

颖悟 发表于 2020-4-24 11:20:55

打卡

接近 发表于 2020-4-24 21:45:56

0 10 个 A
1 11 个B
2 a 是l-value
3a= 9 + 5 =14b = 5c= 9
4 z=x>=0?x:(-x)
5if (size > 12)
{
        cost = cost * 1.05;
        flag = 2;
}
else
{
        bill = cost * flag;
}

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

else
{
        sheds = 2;
        help = 2 * sheds;
}


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

晨曦之星 发表于 2020-4-24 23:05:50

0.10
1.0
2.a,b,c
3.a=14,b=5,c=9
4.x > 0 ? z = x: z = -x;

呆小磊 发表于 2020-4-24 23:27:21

ilovefishc

青三 发表于 2020-4-25 07:56:42

1

旧时光道子 发表于 2020-4-25 09:58:55

前来学习

zlatan 发表于 2020-4-25 11:43:56

{:10_277:}

meikaihongo 发表于 2020-4-25 11:56:56

#include <stdio.h>
#include <math.h>

int main()
{
        double pi = 0.0, i = 1.0, k = 1.0, t = 1.0;

        while (fabs(t) > 1e-8)
        {
                pi += t; //pi = pi + t;
                i = - i;
                k += 2.0;
                t = k / i;
        }
       
        pi *= 4;
        printf("pi = %f\n",pi);

        return 0;
}

1302003931 发表于 2020-4-25 19:51:41

21
页: 92 93 94 95 96 97 98 99 100 101 [102] 103 104 105 106 107 108 109 110 111
查看完整版本: S1E16:拾遗 | 课后测试题及答案