{:5_90:}
111
1
回
回复
学习下
{:5_102:}
打卡
赶紧跟进~!~!~!
hh
对答案
一个都不会……
难
回复
0.很多个
1. 10个
2. a,b,c
3. a=(3,4,9,15), b=5, c=10
4.x>0 ? z=x : z=-x
5. if(size>12){cost=cost*1.05, flag=2};else{bill=cost*flag};
if(ibex>14){sheds=3}; else{sheds=2;help=2*sheds};
readin:scanf("%d",&score); if(score<0){printf("count=%d\n",count);} else{count++; scanf("%d",&score);}
哇哇
0.100
1.11
2.a,b,c
3.15.5,10
4.if(x>=o){z=x;}else{z=-x;}
5.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)
{
printf("count = %d\n", count);
}
count++;
goto scanf("%d", &score);
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