#include <stdio.h>
#include <math.h>
int main()
{
int d=324500,p=3245;
double r=0.008,m=0;
m=(log10(p)-log10(p-d*r))/log10(1+r);
printf("month=%f\n",m);
printf("total=%f\n",m*p);
return 0;
}
分期付款的计算
最新推荐文章于 2024-04-09 12:53:48 发布