1
{:9_219:}
。。。
查看答案
.
{:9_241:}
10个a
z=x>0?x;-x
嗷嗷
#include <stdio.h>
#define MONEY 4000000
#define cost500000
int main()
{
double a;
int count;
count=0;
a=MONEY;
while(a>=0)
{
a-=cost;
a+=a*0.08;
count++;
}
printf("%d年后用完了\n",count);
return 0;
}
0. 打印10次'A' j=10退出内循环,j!=10退出外循环,结果打印10次‘A’
1.
打印 0个'B'
循环 while(0) 直接退出循环
如果i=1; 会打印9次‘B’
2.
a=5;
a=5;
不小心多点了下回车,发表回复了 0.0 不看答案再重新做下
0. 打印10次'A' j=10退出内循环,j!=10退出外循环,结果打印10次‘A’
1.
打印 0个'B'
循环 while(0) 直接退出循环
如果i=1; 会打印9次‘B’
2.
c=5;
b=c;
a=b;
a=5;
3.
a=14
b=5
c=9
4.
z = x < 0 ? –x : x
5
scanf("%d", &score);
while (score >= 0)
{
count++;
scanf("%d", &score);
}
printf("count = %d\n", count);
支持小甲鱼
,
....
{:10_282:}
xx
0.10
1.10
2.a/b/c
3.14.5.9
4.z = x>= 0? x:-x
5.if (size > 12)
{
cost = cost * 1.05;
flag = 2;
}
bill = cost * flag;
if (ibex > 14)
{
sheds = 3;
}
sheds = 2;
help = 2 * sheds;
if (score < 0)
{
printf("count = %d\n", count);
}
count++;
scanf("%d", &score);
给朕看