using c = System.Console;
public static void Main()
c.Write(" * Loan Calculator * \n ");
c.Write("Borrower's name: ");
c.Write("Borrowers I.D: ");
c.Write("Enter principal amount: ");
PA = Double.Parse(Console.ReadLine());
c.Write("Time (Year): ");
T = Double.Parse(Console.ReadLine());
c.Write("Rate (Decimal): ");
RT= Double.Parse(Console.ReadLine());
double M = ( SI + PA )/d;
Console.WriteLine(name+" with barrower's ID: "+ID+ " has to pay a total of: "+String.Format("{0:N}",Total)+ " with monthly pay of "+String.Format("{0:N}",M)+" for " +d+" months ");