2022.11.15前来打卡
mi se te
基本功不扎实,看看答案
0
1
1
6666666666666
1
#include <stdio.h>
#define NUM 10000.00
int main()
{
double total1, total2;
int i = 0;
total1 = NUM;
total2 = NUM;
while (total1 >= total2)
{
total1 = total1 + NUM * 0.1;
total2 = total2 * 1.05;
i++;
}
printf("%d年后,黑夜的投资额超过小甲鱼!\n", i);
printf("小甲鱼的投资额是:%.2f\n", total1);
printf("黑夜的投资额是:%.2f\n", total2);
return 0;
}
1
查看参考答案
1
1
1
{:10_277:}
6
答案
0
{:5_103:}
冲