#include <iostream>
#include <math.h>
#include <cmath>
usingnamespace std;
int main()
{
double t, p, r;
int a;
cout<<"what is the amount of the loan"; //ask for the amount of the loan.
cin>>p;
cout<<"enter the interest rate per year";
cin>>r;
cout<<"amount to pay back after t years";
cin>>a;
a=p(pow((1+r), t));
return 0;