evillll
发表于 2024-1-8 15:52:26
ok
汪汪汪嗷呜
发表于 2024-1-8 21:57:40
继续来学习啦
检测点11.1
发表于 2024-1-9 21:46:48
fabs(v)
stm32-linux
发表于 2024-1-13 01:12:28
12121
cza010321
发表于 2024-1-13 11:21:40
I love fish c
wangzijia
发表于 2024-1-15 13:22:22
1
anliangqi
发表于 2024-1-15 22:43:47
太强了
serein黄昏
发表于 2024-1-16 22:48:24
0.10
1.10
2.a,b,c
3.a=14
b=5
c=9
4.x>=0?z=x:z=-x;
5.
0.#include <stdio.h>
#include <math.h>
int main()
{
int year=0;
double a=0, b=0;
while (b <= a)
{
year++;
a = 10000 * 0.1*year+10000;
b = 10000 * pow(1.05, year);
}
printf("%d\n", year);
printf("%f\n", a);
printf("%f", b);
return 0;
}
1.#include <stdio.h>
#include <math.h>
int main()
{
int year;
double num = 1.00;
for (year = 1; num > 0;)
{
num = (4000000 - 500000) * pow(1.08, year) - 500000* ((1.08 - pow(1.08, year + 1)) / (1 - 1.08));
year++
}
printf("%d", year);
return 0;
}
2.#include <stdio.h>
#include <math.h>
int main()
{
int year;
double num = 1.00,a=1.00;
for (year =1.; ; year++)
{
num = fabs(1 / (pow(2, year) + 1));
if (num < 0.00000001)
break;
a = a + 1 / ((pow(2, year) + 1) * pow(-1, year));
}
printf("%lf", 4*a);
return 0;
}
3.
梦回千古12138
发表于 2024-1-18 00:14:50
566
顶聪明的芥子
发表于 2024-1-18 12:16:23
{:5_109:}
明梦
发表于 2024-1-19 00:23:13
111111111111111111
shanmu2023
发表于 2024-1-20 20:41:17
10
0
a
a=14,b=5,c=9
z=(x>0?x:-x)
3267740763
发表于 2024-1-21 14:15:28
6
梁骏豪
发表于 2024-1-21 18:02:18
123
龙队一号
发表于 2024-1-22 09:25:56
0
yhylzjnx
发表于 2024-1-23 22:01:25
谢谢分享
野蛮娘炮
发表于 2024-1-24 15:38:47
{:5_90:}
huahuaFC
发表于 2024-1-26 18:00:07
123
ALLLIEING
发表于 2024-1-28 19:01:26
132
ALLLIEING
发表于 2024-1-28 19:13:56
123