学习学习
{:10_282:}
0、100个
1、9个
2、c
3、b=4,a=c=16
4、z = abs(x)
1
0.100
1.11
2.
3.
4.z=x>0?x:-x
5.A.
if(size>12){
cost = cost*1.05;
flag = 2;
}
bill = cost*flag;
B.
sheds=2;
help = 2*sheds;
C.
while(scanf("%d",&score)){
if(score<0){
printf("count = %d\n",count)
break;
}else{
count++;
}
}
{:5_102:}
谢谢
daan
答案
1
00
烦人的兔子{:5_90:}
{:10_257:}
查看参考答案
鱼c有你更精彩
123
动动手3不会....
0. 100
1. 10
2. a
3. a = 14, b = 5, c = 9
4. x >= 0 ? z = x : z = -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.
if (score < 0)
{
stage2: printf("count = %d\n", count);
}
count++;
scanf("%d", &score);
0.#include<stdio.h>
int main()
{
int year;
float jiayu = 10000, heiye = 10000;
while(jiayu >= heiye)
{
jiayu += 10000 * 0.1;
heiye += heiye * 0.05;
year++;
}
printf("%d年后,黑夜的投资额超过小甲鱼!\n", year);
printf("小甲鱼的投资额是:%.2f\n", jiayu);
printf("黑夜的投资额是:%.2f\n", heiye);
return 0;
}
1.#include<stdio.h>
int main()
{
int year, moeny = 400;
while(moeny > 0)
{
moeny -= 50;
moeny += moeny * 0.08;
year++;
}
printf("%d年后,小甲鱼败光了所有家产,再次回到一贫如洗......", year);
return 0;
}
2.
{:10_257:}
{:5_90:}