friedrichli
发表于 2018-9-17 20:32:03
answer
穿鞋子的猫
发表于 2018-9-18 19:41:24
1
凌宇歌
发表于 2018-9-18 21:10:09
是
huoxr
发表于 2018-9-19 12:44:08
对答案
会唱歌的锤石
发表于 2018-9-19 14:48:35
1
_luck
发表于 2018-9-19 19:10:54
1
princeloong
发表于 2018-9-19 23:00:33
1
ced1836522334
发表于 2018-9-20 14:24:21
h
最爱丽丽
发表于 2018-9-22 13:22:33
1
Iriscee
发表于 2018-9-22 22:33:45
{:10_334:}
xkcx1988
发表于 2018-9-23 11:56:14
0.10个
1.10个
2.c=5,b=c,a=b
3.a=14,c=9,b=5
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;
scanf("%d", &score);
while(score >=0)
{
count++;
scanf("%d", &score);
}
printf("count = %d\n", count);
z8733537
发表于 2018-9-23 22:12:24
123
哎呦喂11
发表于 2018-9-24 15:29:24
1
fzb759460312
发表于 2018-9-25 09:36:10
0:10个A
1:10个B
2:C=5
3:a=9,b=5,c4
4:x>=0?z=x:z=-x
5:
swymh
发表于 2018-9-25 14:22:34
朕想知道
cyhzero
发表于 2018-9-25 14:46:29
0.10个
1.1个都不打印
2.a,b,c
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;
}
else {
sheds = 2;
}
help = 2 * sheds;
C.
do {
scanf("%d", &score);
}
while ((score = getchar()) != '\n') {
if (score < 0) {
printf("count = %d\n", count);
}
count++;
}
徐振宇
发表于 2018-9-25 18:37:20
答案
yanmensnow
发表于 2018-9-26 06:01:48
谢谢小甲鱼
wyz950812
发表于 2018-9-26 09:55:33
123
王小二°
发表于 2018-9-26 10:17:40
S1E16
0.
10
1.
0.
2.
左值是A
3.
a.14
b.5
c.9
4.
x>0?z:-z
5.
A.
if (size>12)
{
cost = cost *1.05;
flag = 2;
}
else
{
bill = cost * flag;
}
B.
if(ibes>14)
{
sheds =3;
}
else if(sheds =2)
{
help = 2*sheds;
}
C.
#include <stdio.h>
int main(){
int count,score;
while((score = getchar())!='\n'){
scanf("%d", &score);
while(score>=0){
count++;
}
}
printf("count = %d\n", count);
}没做出来
动动手.
0.
#include <stdio.h>
int main(){
int k;//i代表小甲鱼的money,j代表黑夜的money, k计数循环次数
int i = 10000;
int j = 10000;
do {
i = i+ 10000 * 0.1;
j = j + j * 0.05;
k++;
}while(i>j);
printf("%d\n",k);
printf("%d\n",i);
printf("%d\n",j);
return 0;
}
1.
#include <stdio.h>
int main(){
long long intmoney;
int j;//money表示小甲鱼的资金,j计数
money = 4000000;
do{
money = money - 500000;
money = money + money * 0.08;
j++;
}while(money>0);
printf("%d",j);
}
2.
完全找不到头脑。
3.
数学不好求不来求不来