1
这一阶段快结束啦
学习
1
答案
0 10
1 11
2a,b,c
3 a = (b = 3,4 ,c = 8,12)
a = 15
b = 5
c= 10
4z = (x>=0 ? x : -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
readin: scanf("%d", &score);
if (score < 0)
{
printf("count = %d\n", count);
}
count++;
readin;
朕想知道
1
1
123
测试题
0.10个
1.0个
2.a,b,c
3.a=14,b=5,c=9
4.x>0?z=x:z=-x
动动手
0.#include<stdio.h>
int main()
{
double a=10000,b=10000,a1,b1;//本金
int c=0;//时间
for(;;c++)
{
a1 =10000 * 0.1;
b1 =b * 0.05;
a = a + a1;
b = b + b1;
if(a<b)
{
printf("%d,%.2f,%.2f\n",c+1,a,b);
break;
}
}
return 0;
}
1.
2.
3.
1
1
1
46
查看答案。。。
1
测试题:
0:100个
1:11个
2:a,b,c都是左值
3:a=14;b=5;c=9
4:z=x>0?x:-x
5:A.
if (size > 12)
{
cost = cost * 1.05;
flag = 2;
}
B.
if (ibex > 14)
{
sheds = 3;
}
C.
while(1)
{
if (score < 0)
{
printf("count = %d\n", count);
}
count++;
scanf("%d", &score);
}
动动手:
0:完全正确
1:自己算的数学理论上来说也没错,可能对题意的理解不一样
2:完全正确
3:这题我思路捋不清楚,不知道循环里面该怎么写
1
1