boll112233
发表于 2020-5-9 14:36:59
0. 10个
1. 10个
2. 左值为a
3.a = 20, b = 10, c = 10
4.Z= X>=0?X:-X
5.
A:
if (size>12)
{
cost *= 1.05;
falg = 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);
}
count++;
}
鱼轩
发表于 2020-5-9 17:27:31
1
conciseconse
发表于 2020-5-10 15:58:19
鱼C有你更精彩^_^
无帅纪
发表于 2020-5-11 09:30:39
123
jmimimi
发表于 2020-5-11 11:09:18
回帖
1138863312
发表于 2020-5-11 11:14:28
1
小伊布
发表于 2020-5-12 00:16:27
加油
肖-肖
发表于 2020-5-12 12:53:12
===又是一道题也没做上来===我还在学个什么劲
#if(0)
#include<stdio.h>
void main()
{
int xjy=10000;
int hy=10000;
int year=1;
_Bool flag=1;
while(10000+year*(10000*0.1)>1.05*(10000+0.05*(year-1)*10000))
{
year++;
}
printf("%d年后,黑夜的投资额超过小甲鱼!");
}
#endif
#if(0)
#include<stdio.h>
void main()
{
double bj=4000000;
int year=1;
while(bj*0.08+bj>0)
{
bj-=50000*year;
year++;
}
printf("%d年之后,小甲鱼败光了所有的家产,再次回到一贫如洗……");
}
#endif
{:10_277:}
不懂安慰爱发呆
发表于 2020-5-13 09:10:53
我吐了^^
xuyushengming
发表于 2020-5-14 07:49:02
1
zhou4835556
发表于 2020-5-14 18:21:48
1
fytfytf
发表于 2020-5-15 07:33:29
+1
张挑挑
发表于 2020-5-15 12:37:07
0.0
dhdhtr
发表于 2020-5-15 17:01:17
0.10
1.10
2.a
3.a=14,b=5,c=9
4.z=x >= 0? x:-x;
遥控电香蕉
发表于 2020-5-15 21:54:29
66666
kakagigi
发表于 2020-5-16 09:03:34
aaaaaaaaaaaaaaa
布拉多尔猫
发表于 2020-5-17 15:13:30
lll
Starry°C
发表于 2020-5-17 16:13:32
1
He1loWorld
发表于 2020-5-18 09:36:05
#include <stdio.h>
int main()
{
int i, j=1 ,k=1, sum=0;
for(i = 3; i <= 24; i++)
{
sum = j + k;
k = j;
j = sum;
}
printf("%d",sum);
return 0;
}
mgj321
发表于 2020-5-18 10:22:17
0:100遍
1:不打印
2:5
3:
4:z=x>=0?x:-x;
5: