天道不酬勤
发表于 2023-12-16 22:27:46
1
WHH2849626243
发表于 2023-12-17 13:47:16
1
jian-qi-
发表于 2023-12-18 16:41:01
朕想知道
2091095898
发表于 2023-12-19 11:37:17
答案出现
123132213
发表于 2023-12-19 19:49:57
答案
SIKORZ
发表于 2023-12-20 22:10:58
1
代码小白斌少
发表于 2023-12-23 18:00:00
daan
阿里嘎多!
发表于 2023-12-24 22:59:40
0.10
1.0
2.a
3.14,9,5
4.z=(x<0)?:-x,x;
5.
acq911
发表于 2023-12-25 11:09:46
100
11
a,b,c都是
3510
if(x>=0)
z=x;
else
z=-x;
if(size>12)
{bill=cost*flag;}
else
{sheds=3}
if(ibex》14)
{
sheds = 3;
}
else
{sheds=2;
help=2*sheds;}
scanf("%d", &score);
while(score>0)
{
count++;
scanf("%d",&score);
}
prtinf("count = %d\n", count);
#include <stdio.h>
int main()
{
double jia=10000.0 , he = 10000.0;
int year,i;
for(i=1;he <= jia;i++)
{
jia+=10000*0.1;
he += he*0.05;
year=i;
}
printf("%dÄêºó£¬ºÚÒ¹µÄͶ×ʳ¬¹ýÁËÀÏÎ۹꣡\n",year);
printf("ÀÏÎÛ¹êµÄͶ×ʶîÊÇ£º%.2f\n",jia);
printf("ºÚÒ¹µÄͶ×ʶîÊÇ£º%.2f\n",he);
return 0;
}
#include <stdio.h>
#include <stdio.h>
#include <math.h>
int main()
{
float num,pii;
int i;
for(i=1,num=1.0;fabs(1/num)>pow(10,-8);i++,num+=2.0)
{
pii+=(pow(-1,i-1))*(1/num);
}
printf("%9.7f,%9.7f",4*pii,1/num);
return 0;
}
int main()
{
int year;
double money=4000000;
for(year=0;money>=0;year++)
{
money=(money-500000)+(money-500000)*0.08;
}
printf("%dÖ®ºó£¬ÀÏÎÛ¹ê°Ü¹âÁËËùÓмҲú£¬±ä³ÉС¼×Óã¡¡",year);
return 0;
}
18174879367
发表于 2023-12-25 11:43:39
1
嘎吱不脆
发表于 2023-12-27 20:34:09
1
kounasx
发表于 2023-12-30 15:46:17
回复
菜鸟零号
发表于 2024-1-1 23:45:36
#include <stdio.h>
int main()
{
int A1=1, A2=0, A3=0, Y=10, Y1=0, MUN=0;
printf("过去了多少个月:");
scanf("%d", &Y);
while (Y1 < Y) {
A1 = A1 + A2;
A2 = A3;
A3 = A1;
++Y1;
}
MUN = A1 + A2 + A3;
printf("MUN = %d\n", MUN);
return 0;
}
枫叶总多离别
发表于 2024-1-2 10:20:33
1
liyifeng295641
发表于 2024-1-2 10:37:25
1
菜鸡扣jiojio
发表于 2024-1-3 20:07:56
1
SherlockB6
发表于 2024-1-6 20:00:23
0.100
1.11
2.
3.a = 4,b = 4,c = 10
4.z = ()
5.A
if (size > 12)
{
cost = cost * 1.05;
flag = 2;
}
bill = cost * flag;
@LJY
发表于 2024-1-7 15:37:52
答案
tntsnakern
发表于 2024-1-8 11:14:40
0.打印10个A
1.0个
2.a,b,c
3.a=14 ;b=5;c=14
4.z=x>=0?x:-x;
5.
if(size>12)
{
cost = cost*1.05;
flag = 2;
}
bill = cost*flag;
if(ibex>14)
{
sheds = 3;
}
else
{
sheds = 2;
}
help = 2 * sheds;
while(1)
{
scanf("%d", &score);
if (score < 0)
{
printf("count = %d\n", count);
}
count++;
}
tntsnakern
发表于 2024-1-8 11:19:26
tntsnakern 发表于 2024-1-8 11:14
0.打印10个A
1.0个
2.a,b,c
3.a=14 ;b=5;c=9
5.C
scanf("%d", &score);
while (score >= 0)
{
count++;
scanf("%d", &score);
}
printf("count = %d\n", count);