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.

Could someone please help me get my program to display its output

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

with the spacing this program has between the numbers and dollar sign.

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!