0.100次
1。11次
2。a,b,c
3.
4。
动手
0。
#include <stdio.h>
#include <math.h>
int main()
{
int year = 1;
int cost = 10000;
float d_interest=0.1;
float f_interest=0.05;
float d_total = 10000;
float f_total = 10000;
while(d_total>= f_total)
{
d_total = cost * (1+d_interest*year);
f_total = (pow((1+f_interest),year))*cost;
printf("第%d年,单利:%.2f,复利:%.2f\n",year,d_total,f_total);
year = year+1;
}
return 0;
}
1。
#include <stdio.h>
#include <math.h>
int main()
{
int year = 1;
float capital = 4000000;//本金
float interest=0.08; //利息
int expence = 500000;//每年支出
while(capital>expence)
{
capital = capital*(1+interest)-expence;
printf("%d年后,资产:%.2f\n",year,capital);
year = year+1;
}
return 0;
}
3。2的24次方
aa
1
upup
0.10个
1.10个
2.c b a
3.a=13 b=5 c=9
4.if (x>=0){
z=x
}else{
z=-x
}
5.A if(size>12){
bill=cost*flag;
}
B
if(ibex>14){
sheds=3;
}
C
readin: scanf("%d",&score);
if(score<0){
printf("count = %d\n",count);
}
100次
1
太难了,——。——看看答案
加油
甲鱼辛苦
8192
看看
0.100次
1.0次 0次不对就10次
2.a, b, c
3.b=4, c=9,a=13
4.z= a > 0 ? a: -a;
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:
scanf("%d", &score);
if (score < 0)
{
printf("count - %d\n", count);
}
else
{
count++;
continue;
}
参考答案
ck
查看参考答案
1
h
1
查看参考答案