吖呵来咯
发表于 2022-4-9 17:56:41
12
开开卡丁车
发表于 2022-4-10 15:07:34
看看
ED_smile
发表于 2022-4-10 15:32:46
100
0次
a,b,c
a=(4,15),b=5,c=15
if a;else b;
if a;sheds=2;else b;
while(score>=0)readin;count++; stage2;
藏狐
发表于 2022-4-10 16:42:01
1
颜祖逆袭之路
发表于 2022-4-10 21:59:39
校对
碱默
发表于 2022-4-11 10:18:26
小甲鱼yyds
Dorkysom
发表于 2022-4-12 10:08:49
看看
priscillafour
发表于 2022-4-12 13:16:48
0. 10次
1. 10个B
2. a
3. a = 15, b = 4, c = 9
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.
if (score < 0)
{
printf("count = %d\n", count);
}
count++;
scanf("%d", &score);
动动手:
0. done
#include <stdio.h>
#include <math.h>
int main()
{
int year;
float benjin = 10000.00;
float x, y;
float x_interest;
float y_interest;
float x_rate = 0.10, y_rate = 0.05;
x = 10000.00, y = 10000.00;
for (year = 0; x >= y; year ++)
{
x = benjin + (benjin * x_rate) * year;
y = benjin * pow((1+y_rate), year);
if (y > x)
{
break;
}
}
printf("%d年后,黑夜的投资额超过小甲鱼!\n", year);
printf("小甲鱼的投资额是:%.2f\n", x);
printf("黑夜的投资额是:%.2f\n", y);
return 0;
}
1. not sure why dead circle...
#include <stdio.h>
#include <math.h>
int main()
{
int year;
double prize = 4000000.00;
double expense = 500000.00;
double rate = 0.08;
for (year = 0; prize > 0; year ++)
{
prize = prize - expense;
if (prize <= 0)
{
break;
}
else
{
prize = prize * pow((1+rate), year);
}
}
printf("%d年后小甲鱼败光了所有的家产,再次回到一贫如洗。\n", year);
return 0;
}
2. will do
3. will do
鱼子酱?
发表于 2022-4-12 21:16:33
a
八重神子的狗
发表于 2022-4-13 09:06:57
0.无数个
1.11
2.a b c
3.a=21
b=10
c=4
4.|x|>0? z=|x|:z!=|x|
5.if(size>12)
{
cost =cost *1.05;
}
bill =cost * flag;
if (ibex >14)
{
sheds =3;
}
sheds = 2;
help = 2*sheds;
redin: scanf("%d",&score);
if(score <0)
{
printf("count =%d\n,count);
}
count++;
goto readin;
LilPan
发表于 2022-4-13 15:34:45
1
一位有志青年
发表于 2022-4-13 16:11:36
#include<stdio.h>
#include<math.h>
int main()
{
int x=0,y=0,year=2;
while(x>=y)
{
x=pow(10000*0.1,year);
y=pow(10000+10000*0.05,year);
year++;
}
printf("%d年后,黑夜的投资额超过小甲鱼!\n",year);
printf("小甲鱼的投资额是%.2f",x);
printf("黑夜的投资额是:%.2f",y);
return 0;
}
1613551
发表于 2022-4-13 16:15:45
今天又是元气满满的一天呢
壹零玖肆
发表于 2022-4-13 21:34:27
来啦来啦
dfsldfsl
发表于 2022-4-14 12:05:14
11
1050293757
发表于 2022-4-14 23:04:05
{:5_109:}
真造雷虎
发表于 2022-4-15 01:44:50
1
fishxuan
发表于 2022-4-15 20:00:12
{:5_102:}
20190530
发表于 2022-4-16 15:12:39
1
loucer
发表于 2022-4-17 16:59:09
看看