赵嘉琦
发表于 2020-6-13 20:01:28
1
穿越时空的思念
发表于 2020-6-13 21:08:18
0 10
1 11
2 a,b,c
3 14
4 x > 0 ? z = x : z = -x
5 Aif (size > 12)
{
cost = cost * 1.05;
flag = 2;
}
bill = cost * flag;
B if (ibex > 14)
{
sheds = 3;
help = 2 * sheds;
}
sheds = 2;
help = 2 * sheds;
C readin: scanf("%d", &score);
if (score < 0)
{
printf("count = %d\n", count);
}
count++;
5675181
发表于 2020-6-13 23:40:38
你好
as1160860997
发表于 2020-6-14 12:03:41
1
学学学削
发表于 2020-6-14 17:07:41
朕想看看
安子Anzi
发表于 2020-6-14 20:52:21
0
tusenpo
发表于 2020-6-15 13:47:49
0: 10
1:0
2:c'
3:a = (3 ,4 ,8,13)b= 3 , c = 9
4:
5:
可爱昏了
发表于 2020-6-15 14:43:09
hh
PC1201
发表于 2020-6-15 17:04:43
1
Kebofeier
发表于 2020-6-15 21:52:46
要看
XYcarpenter
发表于 2020-6-17 11:38:48
I LOVE FISHC
Z......
发表于 2020-6-17 15:29:58
10
O-dajiji
发表于 2020-6-17 23:29:30
棒
wx930401
发表于 2020-6-18 05:10:36
朕想知道
9531
发表于 2020-6-18 09:44:12
1
18705640665
发表于 2020-6-18 09:45:24
0:10个A1:0个B
onng
发表于 2020-6-18 18:02:35
打卡
Ityok
发表于 2020-6-18 23:09:39
测试题
0.
10次
1.
0次
2.
3.
a==14
b==5
c==9
4.
z = (x > 0)?x:-x
5.
A
if(size >12)
{
cost = cost * 1.05;
flag = 2;
}
bill = cost *flag;
B.
if (ibex > 14)
{
sheds = 3;
}
else
{
sheds = 2;
}
help = 2 * sheds;
C.
scanf(“%d”, &score);
while (score >= 0)
{
count++;
scanf(“%d”, &score);
}
printf(“count = %d\n”, count );
动动手
0.
#include <stdio.h>
int main()
{
float xjy=10000, hy=10000;
int year=0;
do
{
xjy = xjy + 1000;
hy = hy + (hy * 0.05);
year++;
}
while (hy < xjy);
printf("%d年后,黑夜的投资超过小甲鱼!\n", year);
printf("小甲鱼的投资额是: %.2f\n", xjy);
printf("黑夜的投资额是: %.2f", hy);
return 0;
}
1.
#include <stdio.h>
int main()
{
float xjy=4000000;
int year=0;
do
{
xjy = xjy - 500000;
xjy = xjy + (xjy * 0.08);
year++;
}
while (xjy > 0);
printf("%d年后,小甲鱼败光了所有家产", year);
return 0;
}
2.
3.
coutcin
发表于 2020-6-18 23:23:38
666
肖1213
发表于 2020-6-19 21:36:07
答案