小小的学习一下 发表于 2022-9-2 18:16:05

.

精神减肥 发表于 2022-9-3 13:20:07

查看参考答案

里茉 发表于 2022-9-3 16:09:08

为什么在vs2019里面不能使用布尔类型

cangming 发表于 2022-9-3 17:58:56

.

cangming 发表于 2022-9-3 18:00:15

#include <stdio.h>
#include <math.h>
int main()
{
    int b;
    double a,Pi=1;
    for(a=3,b=1;1/a>1e-8;a=a+2,b++)
    {
      if(b%2==1) Pi=Pi-(1/a);
      else Pi=Pi+(1/a);
    }
    printf("%10.7lf",Pi*4);
    return 0;
}

13719962534 发表于 2022-9-3 21:22:15

0:81;
1:128

ZedCheung 发表于 2022-9-4 10:38:33

1

一只魈咸鱼 发表于 2022-9-4 10:57:43

0

阿卡西 发表于 2022-9-4 22:39:44

1

pyq031126 发表于 2022-9-5 16:09:59

1

阿亮不减肥 发表于 2022-9-6 12:08:53

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

3到15个字符 发表于 2022-9-6 15:18:48

1

SilverAz 发表于 2022-9-6 20:28:04

1

小任性ella 发表于 2022-9-6 23:00:31

111

kirito2z2 发表于 2022-9-7 14:41:19

小甲鱼在干嘛

Eason_Wu 发表于 2022-9-8 22:03:51

回复

李杰潼专插本 发表于 2022-9-9 16:05:43

查看参考答案

阿当2109 发表于 2022-9-9 17:50:13

{:5_102:}

bb鸟 发表于 2022-9-10 10:01:28

0.   11
1.    11
2.
3. b=4   a=9   a=15
4.

日天神帝 发表于 2022-9-10 12:09:10

115
页: 227 228 229 230 231 232 233 234 235 236 [237] 238 239 240 241 242 243 244 245 246
查看完整版本: S1E16:拾遗 | 课后测试题及答案