Question: do in c# the first 3 pictures are the program to rework last is the direction main.cs using System; CO class Mainclass { public static

![static void Main (string[] args) { 9 10 11 12 13 14](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3bd139218b_68366f3bd13749ce.jpg)

main.cs using System; CO class Mainclass { public static void Main (string[] args) { 9 10 11 12 13 14 15 1/Declare variables double loanAmount; double rate, term, paymentAmount, monthInterest, principal, balance, totalInterestPaid=e; int year,numPayments; string again; 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1/Do while loop do { Console.Write("Loan Aount: "); //Asking for loan amount loanAmount Convert.ToDouble(Console.ReadLine()); // Loan amount is ReadLine Console.Write("Interest Rate (as a decimal value): "); //Asking for Rate rate - Convert.ToDouble(Console.ReadLine()); //Rate is ReadLine Console.Write("Number of years of Finance: "); // Asking for number of years year - Convert.ToInt32(Console.ReadLine()); // Years is Realine 1/Given formulas * de formulas numPayments year 12; term Math.Pow((1 + rate / 12.0), numPayments); paymentAmount (loanAmount * (rate / 12.0) * (term / (term - 1.0))); Console.WriteLine(" {0,-10} {1,-10} {2,-10} {3,-10}", "Month", "Int.", "Prin.", "New"); Console.WriteLine("{0,-10} {1,-10} {2,-10} {3,-10}", "No.", "Pd.", "Pd..", "Balance"); balance loanAmount; //For loop for (int i = 1; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
