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

Step: 3

blur-text-image

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

Macroeconomics

Authors: Paul Krugman, Robin Wells, Iris Au, Jack Parkinson

3rd Canadian edition

1319120083, 1319120085, 1319190111, 9781319190118, 978-1319120054

Students also viewed these General Management questions

Question

What influences peoples choice of values?

Answered: 1 week ago