#include <stdio.h>main(){ float rate=0.0225,capital,deposit; int n; printf("capital:"); scanf("%f",&capital); print("year:"); scanf("%d",&n); deposit=capital+capital*n*rate; printf("deposit:%f",deposit); return 0;}
1 回答
- 1 回答
- 0 关注
- 898 浏览
添加回答
举报
0/150
提交
取消