include <stdio.h>
#include<math.h>
int main()
{int n;
float r,p;
printf("请分别被输入增长率,年数");
scanf("%f%d",&r,&n);
p=pow(1+r,n);
printf("%d年后我国国民生产总值与现在相比增加了%f",n,p);
return 0;
}
简单计算
猜你喜欢
转载自blog.csdn.net/weixin_43742177/article/details/84261861
今日推荐
周排行