public static void Main(string[] args)
Console.WriteLine("*** Loan Calculator ***");
Console.Write("Borrower's Name:");
name = Console.ReadLine();
Console.Write("Borrower's ID:");
Console.Write("Principal Amount:");
P = int.Parse(Console.ReadLine());
Console.Write("Time (year):");
T = Double.Parse(Console.ReadLine());
Console.Write("Rate (decimal):");
R = Double.Parse(Console.ReadLine());
Console.WriteLine(name + " with barrower's ID: " + ID);
Console.WriteLine("has to pay a total of: " + String.Format("{0:N}", total));
Console.WriteLine("with monthly pay of " +String.Format("{0:N}",M)+" for " +d+" months ");