MolloM
发表于 2020-3-1 00:40:45
0.10个
1.11个
2.abc
3.a =4,b=3,c=9
4.jdz=x>0?x:-x;z=jdz;
5.
A.
if(size>12)
{
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++;
scanf("%d",&score);
riverwcloud
发表于 2020-3-1 08:23:10
0.100
1.10
2.
3.3 3 8
4.if(x>=0){
z=x;
}
else {
z=-x;
}
adsz1111
发表于 2020-3-1 10:42:09
1111111111111111
y12
发表于 2020-3-1 11:04:58
{:9_222:}
冷回清风暖
发表于 2020-3-1 11:05:16
答案
wg123
发表于 2020-3-1 12:01:54
1
han..
发表于 2020-3-1 13:33:52
111
kjn1928
发表于 2020-3-1 13:59:22
1
1450122315
发表于 2020-3-1 16:51:03
1
theadorea123
发表于 2020-3-1 17:03:03
{:7_112:}
、SAKURA丨
发表于 2020-3-1 18:54:02
ddd
1678442536
发表于 2020-3-1 19:05:54
小甲鱼太棒了
苏瓦奥术
发表于 2020-3-1 22:12:36
#include<stdio.h>
#include<math.h>
int main()
{
double i, j, a, k = -1, m = 0;
for(i = 1, j = 1, a = 0; i / j > pow(10, -8); j += 2, m++, k = -1)
{
k = pow(k, m);
a += (i / j) * k;
}
printf("%.8f", a * 4);
return 0;
}
、SAKURA丨
发表于 2020-3-2 00:31:13
miaomaio 发表于 2016-3-21 16:50
动动手第3题错了吧应该是:
a = 2, b = 2;因为一对兔子有2只
参考答案算出的应该是多少对兔子吧
你应该理解错了,每个月生,新出生的要两个月才能生。
83812832
发表于 2020-3-2 07:09:02
h
shaon1225
发表于 2020-3-2 15:26:48
1
斩风丶羽
发表于 2020-3-2 18:34:54
查看答案
巨兔12138
发表于 2020-3-2 19:32:25
0
tangxiaoyue
发表于 2020-3-3 00:26:14
0.90次
1.0个
2.a
3.c=9 b=5 a=14
4.
if (a>=0)
{
printf("%f",a);
}
else
{
printf("%f",-a);
}
5.
if (size>12)
{
cost*=1.05;
flag=2;
}
bill=cost*flag;
if (ibex > 14)
{
sheds = 3;
}
sheds = 2;
help = 2 * sheds;
if (score < 0)
{
printf("count = %d\n", count);
}
count++;
scanf("%d", &score);
0.
#include <stdio.h>
int main()
{
float jiayu=10000;
float heiye=10000;
float money=10000;
int i;
for (i=1;jiayu>=heiye;i++)
{
jiayu=money*0.1*i+money;
heiye=heiye*1.05;
}
printf("%d年后,黑夜的投资额超过小甲鱼!\n",i-1);
printf("小甲鱼的投资额是:%.2f\n",jiayu);
printf("黑夜的投资额是:%.2f\n",heiye);
return 0;
}
1.
#include <stdio.h>
int main()
{
float money=400;
int year;
for (year=1;money>=0;year++)
{
money*=1.08;
money-=50;
}
printf("%d年后败光家产",year-1);
return 0;
}
2.
13537155109
发表于 2020-3-3 12:03:26
对对答案