#include<stdio.h>
#include<math.h>
int main()
{
double money,rate,year,interest,power;
scanf("%1f%1f%1f",&money,&year,&rate);
power=pow(1+rate,year);
printf("interest=%.2f*%.2f-%.2f",money,power,money);
return 0;
}
scanf("%lf.........
没有错误,这个自带的编译系统有漏洞,你去别的编程软件试一下