Question: Could someone please help me get my program to display its output with the spacing this program has between the numbers and dollar sign. I'm
Could someone please help me get my program to display its output with the spacing this program has between the numbers and dollar sign. I'm close but not quite the same. I have put my program and its output below this first picture.

Here is my program and a screenshot of its displayed output:
//Monthlypayment program #include #include #include #include using namespace std; int main() { double loanamount,MIrate,N,payment,paidback,interestpaid ; cout > loanamount; cout > MIrate; cout > N; payment = loanamount*MIrate/100*(pow(1 + MIrate/100, N))/(pow(1+ MIrate/100,N)-1); paidback = payment*N; interestpaid = paidback - loanamount; cout
My output using the online C++ shell and Visual studios

Loan Amount: Monthly Interest Rate: Number of Payments Monthly Payment: Amount Paid Back Interest Paid 10000.00 1% 36 332.14 11957.15 1957.15
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
