#include<stdio.h>
#include<math.h>
main()
{
int n;
double r = 0.0225;
double c,d;
printf("Input the year and the capital:\n");
scanf("%d,%lf\n",&n,&c);
d = c * pow(1+r,n);
printf("The deposit is:%f\n",d);
}
可以帮忙看看哪里错了吗
最新推荐文章于 2023-07-31 15:41:28 发布