public static void Main(string[] args)
Double PA, Timey, R, PRT, T, MP;
Console.WriteLine("*** Loan Calculator ***");
Console.Write("Borrower's Name: ");
string BN = Console.ReadLine();
Console.Write("Borrower's ID:");
string BI = Console.ReadLine();
Console.Write("Principal Amount: ");
PA = Convert.ToDouble(Console.ReadLine());
Console.Write("Time (year): ");
Timey = Convert.ToDouble(Console.ReadLine());
Console.Write("Rate (decimal): ");
R = Convert.ToDouble(Console.ReadLine());
Console.WriteLine("{0} with borrowers ID: " + "{1} has to pay a total of : {2}", BN, BI, T);
Console.WriteLine("with monthly pay of: " + R.ToString("n2") + " for 24 months");