Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help me clean up my code C# Program I have this WriteLine(For a loan of the amount of {0:F2}, l.LoanAmount + , monthly

Please help me clean up my code C# Program

I have this

WriteLine("For a loan of the amount of {0:F2}", l.LoanAmount + " , monthly payment is {0:F2}", l.GetMonthlyPayment()); but it wont print the monthly payments. It only shows 0:F2. Also how can I add a comma since its in the thousands?? I want 55000 to be $55,000.00 and monthly payment should show $1,009.69

image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Economics Of The Energy Industries

Authors: William Peirce

2nd Edition

0275956261, 9780275956264

More Books

Students also viewed these General Management questions

Question

What influences peoples choice of values?

Answered: 1 week ago

Question

A greater tendency to create winwin situations.

Answered: 1 week ago

Question

Improving creative problem-solving ability.

Answered: 1 week ago