> 其他 >
假如我国国民生产总值的年增长率为9%,计算10年后我国国民生产总值与现在相比增长多少百分比.编写程序.
要求在程序里面不出现增长率,改成scanf语句.
人气:366 ℃ 时间:2020-05-21 08:57:25
解答
#include
main()
{
float i,a,b;
int j;
a=b=1.0;
printf("Please input the rate\n");
scanf("%f",&i);
for(j=0;j
推荐
猜你喜欢
© 2025 79432.Com All Rights Reserved.
电脑版|手机版