JING_YING
发表于 2022-12-10 23:11:26
1
捏捏泡芙
发表于 2022-12-12 23:04:33
问答题答案:
动动手答案:
unfinshed
发表于 2022-12-14 20:19:14
问答题答案:
动动手答案:
筱卓a
发表于 2022-12-15 14:58:38
问答题答案:
动动手答案:
shiyongjun
发表于 2022-12-15 16:25:27
问答题答案:
动动手答案:
少先队员马叔叔
发表于 2022-12-15 21:08:33
问答题答案:
动动手答案:
xiaqiyi
发表于 2022-12-15 22:04:38
问答题答案:
0.10
1.0
2.a=b=c
3.
4.z = x if (x > 0) ? -x
5.
A.
if (size > 12)
{
cost = cost * 1.05;
flag = 2;
}
bill = cost * flag;
B.
动动手答案:
chronus
发表于 2022-12-18 22:41:59
问答题答案:
1
动动手答案:
FangSC
发表于 2022-12-19 09:30:34
问答题答案:0,10
动动手答案:
AVERX
发表于 2022-12-19 23:19:59
问答题答案:
动动手答案:
UUFRIEND
发表于 2022-12-20 13:00:01
1问答题答案:
动动手答案:
耶猫子
发表于 2022-12-20 18:00:34
1
问答题答案:
动动手答案:
御御竹
发表于 2022-12-21 08:36:51
问答题答案:
1
动动手答案:
清如许
发表于 2022-12-22 16:54:31
问答题答案:
动动手答案:
Xuan--xuan
发表于 2022-12-22 17:23:29
问答题答案:
动动手答案:
864431730
发表于 2022-12-24 00:40:53
问答题答案:
动动手答案:
952743246
发表于 2022-12-24 11:28:14
问答题答案:
动动手答案:
铭凡
发表于 2022-12-25 00:13:56
问答题答案:
0.就10次, 100次是陷阱
1.10个
2.l-value是啥。。。
3.5, 5, 9
4.z = x >= 0 ? x : -x
5.
A
while(size > 12)
{
cost = cost * 1.05;
flag = 2;
}
bill = cost * flag;
B
if(ibex > 14)
{
sheds = 3;
}
else
{
sheds = 2;
}
help = 2 * sheds;
C
count--;
do
{
count++;
scanf("%d", &score);
}while(score >= 0);
printf("count = %d\n", count);
动动手答案:
0
asd2105080
发表于 2022-12-25 01:40:52
1问答题答案:
动动手答案:
sw-zhang
发表于 2022-12-25 12:48:49
测试题:
0. 10个
1. 11个
2. c=5;b=c;a=b;
3. a==14,b==5,c==9
4. #include<stdio.h>
int main(void)
{
double x;
double z;
scanf("%lf", &x);
if(x<0) x=-x;
z=x;
printf("%.2lf\n", z);
return 0;
}
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. while(scanf("%d", &score))
{
if(score<0)
{
printf("count = %d\n", count);
break;
}
count++;
}
动动手:
0. #include<stdio.h>
int main(void)
{
double Money_xjy=10000;
double Money_hy=10000;
int years=0;
do
{
Money_xjy=Money_xjy + 10000*0.1;
Money_hy=Money_hy + Money_hy*0.05;
years++;
}while(Money_hy<=Money_xjy);
printf("%d年后,黑夜的投资额超过小甲鱼!\n", years);
printf("小甲鱼的投资额是:%.2lf\n", Money_xjy);
printf("黑夜的投资额是:%.2lf\n", Money_hy);
return 0;
}
1. #include<stdio.h>
int main(void)
{
double total=400;
int years=0;
while(total>0)
{
total-=50;
years++;
if(total>0) total+=total*0.08;
}
printf("%d年之后, 小甲鱼败光了所有的家产,再次回到一贫如洗……\n", years);
return 0;
}
2. #include<stdio.h>
#include<math.h>
int main(void)
{
int x=-1;
int i=0;
int fm=1;
double PI_4=0;
double num;
do
{
num=1.0/fm;
fm+=2;
PI_4+=pow(x, i++)*num;
} while (num>pow(10, -8));
printf("%.8lf\n", PI_4*4);
return 0;
}
3. #include<stdio.h>
int main(void)
{
int a=1;
int b=1;
int m=24;
int i;
for(i=0; i<m; i++)
{
b=a+b;
a=b-a;
}
printf("%d\n", b);
return 0;
}