#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;
}
___C___
相关分类