qisiwhdqew
发表于 2021-11-12 19:20:11
1
1242108664
发表于 2021-11-13 15:06:37
66666666666666666666666666666666666666666
Cavanon
发表于 2021-11-13 20:14:01
1
我i喜欢密密咯
发表于 2021-11-14 11:49:21
666
C1em
发表于 2021-11-14 11:58:16
0.10次
1.0次
2.c
3.b=3 c =9 a=14
5.if(size > 12)
{
cost = cost *1.05;
flag = 2;
}
else
{
bill = cost * flag;
}
if(ibex > 14)
{
sheds = 3;
}
sheds = 2;
help = 2 * sheds;
while(score < 0)
{
scanf("%d",&score);
count++;
}
printf("count = %d\n",count);
北梦璃
发表于 2021-11-14 14:16:43
回复
barack
发表于 2021-11-14 15:26:19
1
一阵三十六
发表于 2021-11-14 17:19:49
0.
100
1.
10
2.
a,b,c,
3.
6, 6 ,10
4.
c=x>-x?x:-c;
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;
}
do
{
scanf(%d,&score);
if(score<0)
{
printf("count=%d\n",count);
}
count++;
}
while(score>=0);
0.
#include<stdio.h>
#include<math.h>
int main()
{
float a,b;
_Bool flag=0;
int n=0;
for(n=0;;n++)
{
a=10000+10000*n*0.1;
b=10000*pow(1.05,n);
if(b>a)
{
printf(" %d 年后,黑夜的投资额超过小甲鱼!\n",n);
printf("小甲鱼的投资额是:%.2f\n",a);
printf("黑夜的投资额是:%.2f\n",b);
break;
}
}
return 0;
}
1。
#include<stdio.h>
int main()
{
float sum=4000000;
int n=0;
for(;sum>0;n=n+1)
{
sum = sum*1.08 - 500000;
}
printf("%d年后,小甲鱼败光了所有的家产,再次回到一贫如洗......",n);
return 0;
}
2.
#include<stdio.h>
#include<math.h>
int main()
{
int n=0;
float sum=0,i=1;
do
{
sum=pow(-1,n)*1/i + sum;
n++;
i+=2;
}
while(n<1000);
printf("%.7f",sum);
return 0;
}
3.
#include<stdio.h>
int main()
{
int n=0;
int a;
for(;n<24;n++)
{ if(n>1)
{a=a+a;}
else
{a=1;}
printf("%d个月后一共有%d对兔子。\n",n+1,a);
}
return 0;
}
魏,我叫方某人
发表于 2021-11-14 18:14:34
aha
王鑫最帅
发表于 2021-11-15 10:03:50
666
Pinkman2021
发表于 2021-11-15 14:43:55
0.100
1.10个
2.a,b,c
3.14,5,9
4.z = x>0?x:-x
5.A
if (size>12){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++;
scanf("%d",&score);
也无风雨也无晴8
发表于 2021-11-15 16:55:34
1
wLakersb
发表于 2021-11-15 19:46:54
0.0
广东蛇皮怪
发表于 2021-11-15 19:58:38
1
常温且加冰
发表于 2021-11-15 20:08:47
答案
QQ1102170274
发表于 2021-11-15 22:03:36
1
铃音
发表于 2021-11-15 23:02:25
2o
幻小莫
发表于 2021-11-16 10:43:58
33554422
定零
发表于 2021-11-16 13:58:45
答案
学海题深
发表于 2021-11-16 14:06:37
81次
无限个
14 4 10
x>=0?z=x;z=-x;
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:
readin: scanf("%d", &score);
if (score < 0)
{
printf("count = %d\n", count);
}
count++;
goto readin(啊这?小甲鱼你错了?);