落单的袜子
发表于 2023-10-6 22:06:16
好
爱你的旺旺
发表于 2023-10-7 21:30:35
{:5_90:}
浅舟覆
发表于 2023-10-7 23:55:44
1
不枉风来水顺
发表于 2023-10-8 11:08:03
1111
Y_Z98115
发表于 2023-10-8 17:17:02
查看参考答案
歌者ay、
发表于 2023-10-8 20:56:41
1
YYZYOYO
发表于 2023-10-9 09:10:12
// 假设小甲鱼和黑夜手上均有 10000 元,
// 小甲鱼以 10% 的单利息投资,
// 黑夜则以每年 5% 的复合利息投资。
// 计算需要多少年黑夜手头的 Money 才会超过小甲鱼?
#include<stdio.h>
#include<math.h>
int main()
{
float dan,fu=10000;
int year=1;
while(fu<dan)
{
dan=pow((10000*(1+0.1)),year);
fu=(1+0.05);
fu+=fu*0.05;
year++;
}
printf("%d",year);
return 0;
}
wudip
发表于 2023-10-9 10:42:46
回
1436466587
发表于 2023-10-9 13:14:45
1
asdwyb
发表于 2023-10-9 18:09:18
100
0
l-value???
a =14 b = 4 c= 14
z=(a>0?a:-a)
if(size>12)
{
cost = cost*1.05;
flag = 2;
}
bill = coat*flag;
if(ibex>14)
{
sheds= 3;
}
help = 2*sheds;
if(score<0)
{
printf("count = %d\n", count);
}
count++;
scanf("%d,&score);
#include <stdio.h>
#include <stdlib.h>
int jia(int a,int year)
{
a = a+a*0.1*year;
return a;
}
int hei(int b,int year)
{
int i;
for(i=0;i<year;i++)
{
b = (b+b*0.05);
}
return b;
}
int main()
{
int a = 10000;
int b = 10000;
int year;
for(year=1;a>=b;year++)
{
a = jia(a,year);
b = hei(b,year);
}
printf("%d",year);
return 0;
}
#include <stdio.h>
#include <stdlib.h>
int main()
{
int lose(int money,int year);
int money = 400;
int year;
for(year = 1;money>0;year++)
{
money = lose(money,year);
}
printf("%dyear",year);
return 0;
}
int lose(int money,int year)
{
money = (money+money*0.08) - 50;
return money;
}
icccream
发表于 2023-10-9 19:54:13
1
wwaanngg
发表于 2023-10-9 20:29:36
/
Dahao-109
发表于 2023-10-10 01:38:42
ooo
hhhghsd
发表于 2023-10-11 14:49:58
看看
kitakita
发表于 2023-10-12 20:00:38
0. 90个‘A’
1.10个‘B’
2.c=5;
b=c;
a=b;
3.b=4
c=9
a=14
4.z=x>=0?x:-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: scanf("%d", &score);
if (score < 0)
{
printf("count = %d\n", count);
}
count++;
scanf("%d", &score);
xuyibo
发表于 2023-10-13 12:06:56
1
Ouysad
发表于 2023-10-13 18:31:33
6666
zahnig
发表于 2023-10-16 16:59:18
1
yiiiiiiii
发表于 2023-10-16 17:15:48
1
Riels
发表于 2023-10-16 19:50:32
吾要看答案