#include #include int main() { float money,year,rate,interest; printf("Enter money,year and rate: \n"); scanf("%f %f %f",&money,&year,&rate); interest = money * pow((1 + rate), year) - money; printf("interest=%.2f",interest); return 0; }