zzp1996
发表于 2021-2-2 16:43:15
1
JokerDM
发表于 2021-2-2 19:07:30
查看参考答案
kaidada
发表于 2021-2-2 22:37:59
1
Cathy-Chen258
发表于 2021-2-2 22:40:27
0.10个吧
1.应该是10个吧
2.c=5,b=c,a=b
3....我晕了
4.z?x>=0:x<0
5.
A:if(size>12)
{
cost=cost*1.05;
flag=2;
}
else
{
bill=cost*flag;
}
B:if(ibex>14)
{
sheds=3;
}
else
{
sheds=2;
help=2*sheds;
}
C:if(score<0)
{
printf("count=%d\n",count);
}
else
{
scanf("%d",&score);
}
count++;
jing2020
发表于 2021-2-3 10:25:23
{:9_241:}
银河搭车客
发表于 2021-2-3 11:10:11
0.11
1.10
2.abc
3.c=5 b=6 a=6
4
x>0? z=x:z=-x
5.
if(size>12)
{
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=%d\n",count);
}
else
{
count++;
scanf("%d",&scpre);
}
动动手:
魔兽世界110
发表于 2021-2-3 17:03:42
1
bie33333
发表于 2021-2-3 22:03:46
啦啦啦
cjh1
发表于 2021-2-4 11:42:10
1
老衲zyc
发表于 2021-2-4 17:08:11
来啦
lypkingcn
发表于 2021-2-4 20:11:46
lypkingcn
发表于 2021-2-4 20:12:49
2296269814
发表于 2021-2-4 20:17:58
{:5_94:}
幽狼0904
发表于 2021-2-5 15:04:04
0.100
1.
树大一哥
发表于 2021-2-5 15:36:27
1
郝世今生
发表于 2021-2-5 16:39:15
0.10
1.11
2.cb a
3.a = 16b = 6c = 10
4.z = z == abs(z)?z:abs(z)
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
readin:scanf("%d", &score);
if (score < 0 )
{
peintf("count = %d\n",count);
}
else
{
count++;
}
0.#include<stdio.h>
#define T 0.1*10000.00
int main()
{
float i = 10000,j = 10000;
int year = 0;
while (i >= j)
{
i = i + T;
j = 0.05 *j + j;
year++;
}
printf("%d年后,黑夜的投资额超过小甲鱼!\n",year);
printf("小甲鱼的投资额是:%.2f\n", i);
printf("黑夜的投资额是:%.2f\n", j);
}
1.#include<stdio.h>
int main()
{
int i,year;
for (i = 350,year = 1; i > 0; year++)
{
i = i * 1.08 - 50;
}
printf("%d年后,小甲鱼败光了所有的家产,再次回到一贫如洗....",year);
}
2.
3.#include<stdio.h>
int main()
{
long int s,i,w;//w表示当月兔子数量 s表示上个月兔子数量 i表示上上个月
int m = 3;
for (s = 1, i = 1,w = 0; m <= 24; m++)
{
w = s + i;
i = s;
s = w;
}
printf("总共%d对兔子", w);
}
陶弈
发表于 2021-2-5 20:23:34
嘿嘿
lishenlm
发表于 2021-2-5 22:42:32
0.100
1.10
2.a,b,c
3.a=17,b=6,c=11
4.z=x>0?x:-x
5.
深海小金鱼
发表于 2021-2-6 10:24:57
LOOK
zzl1108
发表于 2021-2-6 17:37:41
查看参考答案