#include <stdio.h>#include <math.h>int main(void){int money, year;double interest, rate;scanf("%d,%d,&ld",&money,&year,&rate);interest=money*power((1+rate),year);printf("interest = %.2f\n", interest);return 0;}
1 回答
- 1 回答
- 0 关注
- 624 浏览
添加回答
举报
0/150
提交
取消