0.10个吧
1.应该是10个吧
2.c=5,b=c,a=b
3....我晕了
4.z?x>=0:x<0
5.
A:if(size>12)
{
cost=cost*1.05;
flag=2;
}
else
{
bill=cost*flag;
}
B:if(ibex>14)
{
sheds=3;
}
else
{
sheds=2;
help=2*sheds;
}
C:if(score<0)
{
printf("count=%d\n",count);
}
else
{
scanf("%d",&score);
}
count++;
{:9_241:}
0.11
1.10
2.abc
3.c=5 b=6 a=6
4
x>0? z=x:z=-x
5.
if(size>12)
{
cost*=1.05;
flag=2;
}
else
{
bill=cost*flag;
}
if(ibex>14)
{
sheds=3;
}
else
{
sheds=2;
help=2*sheds;
}
if(score<0)
{
printf("count=%d\n",count);
}
else
{
count++;
scanf("%d",&scpre);
}
动动手:
1
啦啦啦
1
来啦
{:5_94:}
0.100
1.
1
0.10
1.11
2.cb a
3.a = 16b = 6c = 10
4.z = z == abs(z)?z:abs(z)
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 )
{
peintf("count = %d\n",count);
}
else
{
count++;
}
0.#include<stdio.h>
#define T 0.1*10000.00
int main()
{
float i = 10000,j = 10000;
int year = 0;
while (i >= j)
{
i = i + T;
j = 0.05 *j + j;
year++;
}
printf("%d年后,黑夜的投资额超过小甲鱼!\n",year);
printf("小甲鱼的投资额是:%.2f\n", i);
printf("黑夜的投资额是:%.2f\n", j);
}
1.#include<stdio.h>
int main()
{
int i,year;
for (i = 350,year = 1; i > 0; year++)
{
i = i * 1.08 - 50;
}
printf("%d年后,小甲鱼败光了所有的家产,再次回到一贫如洗....",year);
}
2.
3.#include<stdio.h>
int main()
{
long int s,i,w;//w表示当月兔子数量 s表示上个月兔子数量 i表示上上个月
int m = 3;
for (s = 1, i = 1,w = 0; m <= 24; m++)
{
w = s + i;
i = s;
s = w;
}
printf("总共%d对兔子", w);
}
嘿嘿
0.100
1.10
2.a,b,c
3.a=17,b=6,c=11
4.z=x>0?x:-x
5.
LOOK
查看参考答案
参考答案
1
对于一个文科生而言这些数学问题看着就头疼