南望 发表于 2020-5-19 15:56:03

{:5_90:}

萌萌哒的小虎崽 发表于 2020-5-19 20:09:27

111

帅滴不要不要滴 发表于 2020-5-20 23:02:27

1

iuxi 发表于 2020-5-21 16:08:00

ads鱼凡 发表于 2020-5-21 17:20:41

回复

ABK000000 发表于 2020-5-21 18:30:46

学习下

十月故里 发表于 2020-5-21 21:59:15

{:5_102:}

likecxy 发表于 2020-5-22 13:12:27

打卡

a1084977565 发表于 2020-5-22 14:49:02

赶紧跟进~!~!~!

大大怪超人 发表于 2020-5-22 17:36:34

hh

rlieu 发表于 2020-5-23 02:27:44

对答案

hanianshao 发表于 2020-5-23 18:37:24

一个都不会……

王逗比666 发表于 2020-5-23 19:05:57

heartskin 发表于 2020-5-23 19:22:48

回复

Lulu12 发表于 2020-5-23 22:01:27

0.很多个
1. 10个
2. a,b,c
3. a=(3,4,9,15), b=5, c=10
4.x>0 ? z=x : z=-x
5. if(size>12){cost=cost*1.05, flag=2};else{bill=cost*flag};
    if(ibex>14){sheds=3}; else{sheds=2;help=2*sheds};
    readin:scanf("%d",&score); if(score<0){printf("count=%d\n",count);} else{count++; scanf("%d",&score);}

林林爱鱼鱼 发表于 2020-5-24 12:24:35

哇哇

朱哥靓 发表于 2020-5-24 17:30:36

0.100
1.11
2.a,b,c
3.15.5,10
4.if(x>=o){z=x;}else{z=-x;}
5.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)
{
       printf("count = %d\n", count);
}
count++;
goto   scanf("%d", &score);

duruozi 发表于 2020-5-24 17:56:49

0.100次

1。11次

2。a,b,c

3.

4。

动手

0。

#include <stdio.h>

#include <math.h>

int main()

{

int year = 1;

int cost = 10000;

float d_interest=0.1;

float f_interest=0.05;

float d_total = 10000;

float f_total = 10000;

while(d_total>= f_total)

{

d_total = cost * (1+d_interest*year);

f_total = (pow((1+f_interest),year))*cost;

printf("第%d年,单利:%.2f,复利:%.2f\n",year,d_total,f_total);

year = year+1;

}

return 0;

}

1。

#include <stdio.h>

#include <math.h>

int main()

{

int year = 1;

float capital = 4000000;//本金

float interest=0.08; //利息

int expence = 500000;//每年支出

while(capital>expence)

{

capital = capital*(1+interest)-expence;

printf("%d年后,资产:%.2f\n",year,capital);

year = year+1;

}

return 0;

}

3。2的24次方

tl_tl 发表于 2020-5-24 21:48:16

aa

李小鱼学c 发表于 2020-5-25 12:37:59

1
页: 97 98 99 100 101 102 103 104 105 106 [107] 108 109 110 111 112 113 114 115 116
查看完整版本: S1E16:拾遗 | 课后测试题及答案