thewhite113
发表于 2020-12-22 18:14:18
show time
qiu064987
发表于 2020-12-22 21:34:54
0.
10个A
1.
0个B
2.
a=b=c
3.
a=14,b=5,c=9
4.
#include <stdio.h>
int main()
{
float a,s;
printf("请输入一个数:");
scanf("%f",&a);
s = a<0 ? -a : a;
printf("%.2f",s);
return 0;
}
5.
#include <stdio.h>
int main()
{
int size,flag = 1;
float bill,cost = 2.0;
if(size > 12)
{
cost = cost * 1.05;
flag = 2;
}
bill = cost * flag;
printf("cost = %.2f, bill = %.2f",cost,bill);
return 0;
}
yingsifeihong
发表于 2020-12-22 22:35:39
sff
士弘阿达
发表于 2020-12-24 17:51:04
2
辛伯达
发表于 2020-12-24 21:37:16
0.10个
1.0个
2.c=5;b=c;a=b
3.c=11,b=6,a=17
4.z=x>0?x:-x;
Long-2000
发表于 2020-12-25 14:49:36
。
SS520520
发表于 2020-12-25 19:35:43
编的程序不合我意怎么办?
小白期望变大神
发表于 2020-12-26 11:46:07
10
11
2.不知道
3.a =14 c=9 b=5
if(size>12)
{cost = cost *1.05
flag = 2 ;
bill = cost *flag}
else
{bill = cost*flag};
You-Name
发表于 2020-12-26 17:25:53
;
雷欧库珀
发表于 2020-12-26 20:57:40
兔子问题思路是一大关键,代码更关键。
Moomin-
发表于 2020-12-26 21:04:28
查看参考答案
wangBB
发表于 2020-12-26 23:07:30
两年之后可以繁殖46368对兔子?
@小鱼仔
发表于 2020-12-27 15:28:07
加油
Minecraft程序猿
发表于 2020-12-27 18:23:57
{:10_256:}
傻嗨啊
发表于 2020-12-27 20:48:23
666
Uijin_达达
发表于 2020-12-28 15:43:41
0.
10
1.
11
2.
c ? 不了解
3.
a = 13, b = 3, c = 9;
4.if (x < 0 ? x = -x : x = x);
z = x;
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:
if (score < 0)
{
printf("count = %d\n", count);
}
count++;
scanf("%d", &score);
15802169666
发表于 2020-12-29 00:16:50
6
Galaxy_XY
发表于 2020-12-29 10:59:47
test
江湖骗子哇
发表于 2020-12-29 18:58:48
20201229-18:58
颜值李
发表于 2020-12-30 08:35:24
1