拖雷大师
发表于 2019-11-1 13:37:18
ok
gdchenli
发表于 2019-11-1 14:00:09
{:5_109:}
jessed
发表于 2019-11-2 21:17:59
看看答案
zylwy1314
发表于 2019-11-3 15:41:25
学习
wwh3303
发表于 2019-11-4 10:33:28
小甲鱼冲鸭!!!
Stefanhot
发表于 2019-11-4 19:51:30
回复
王昱晨c语言
发表于 2019-11-4 22:06:43
wow
少年先疯队
发表于 2019-11-4 22:22:45
看看答案
z14928541
发表于 2019-11-4 22:36:21
............
萝卜特
发表于 2019-11-5 08:05:01
思考不懂
maeehe
发表于 2019-11-5 15:51:55
朕想知道
yedu
发表于 2019-11-5 17:55:50
答案
连吉他都哭诉
发表于 2019-11-5 21:33:44
朕想知道
1459160492
发表于 2019-11-5 22:53:26
0
lingdjim
发表于 2019-11-5 23:10:33
本帖最后由 lingdjim 于 2019-11-6 13:34 编辑
0.90
1.10
2.c=5
3.14 5 9
4. z = x > 0 ? x : -x
5.
1.{
cost = cost * 1.05;
flag = 2;
}
bill = cost * flag;
2.{
sheds = 3;
}
else
{
sheds = 2;
}
help = 2 * sheds;
3.
do
scanf("%d",&score);
if(score>0)
{
count++;
}
while(score > 0)
printf("count = %d\n",count);
s2631386840
发表于 2019-11-5 23:28:13
。
Crazyeye
发表于 2019-11-6 00:04:24
小甲鱼快出第二季!!!我要寄刀片了
KRYZE
发表于 2019-11-6 14:08:43
123
江老窝
发表于 2019-11-6 16:16:24
0.100
1.10个‘B’
2.c = 5 -> c;b = c -> b;a = 5 -> a
3.a = 14,b = 5,c = 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:
for ( ; scanf ( " %d , &score " ) ; count ++)
{
if ( score < 0 )
{
printf ( " count = %d \n " , count ) ;
}
}
臣卜臣卜木曹
发表于 2019-11-6 18:07:36
测试题:
0 100
1 10
2
3 13 3 8
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 readin: scanf("%d", &score);
if (score < 0)
{
printf("count = %d\n", count);
}
count++;
动动手:
0 #include <stdio.h>
int main ()
{
double a,b;
int i;
for (a = 10000,b = 10000,i = 0;a >= b;i ++)
{
a = a + 10000 * 0.1;
b = b * (1 + 0.05);
}
printf("%d年后,黑夜的投资额超过小甲鱼!\n",i);
printf("小甲鱼的投资额是:%.2f元\n",a);
printf("黑夜的投资额是:%.2f元\n",b);
return 0;
}
1 #include <stdio.h>
int main()
{
double money;
int i;
for (money = 400,i = 0;money >= 0;i ++)
{
money = (money - 50) * (1 + 0.08);
}
printf("%d年以后,小甲鱼败光了所有家产,再次回到了一贫如洗......\n",i);
return 0;
}
2 #include <stdio.h>
#include <math.h>
int main()
{
int flag = 1,i = 1;
double pi,sum,num = 1,x;
do
{
sum = sum + num;
pi = 4 * sum;
flag = -flag;
i = i + 2;
num = flag * num / i;
} while ((x = fabs(num)) >= 10 ^ (-8));
printf("圆周率的值是:%.7f\n",pi);
return 0;
}
3