answer
1
是
对答案
1
1
1
h
1
{:10_334:}
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);
123
1
0:10个A
1:10个B
2:C=5
3:a=9,b=5,c4
4:x>=0?z=x:z=-x
5:
朕想知道
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++;
}
答案
谢谢小甲鱼
123
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.
数学不好求不来求不来