using c = System.Console ;
public static void Main()
c.Write(" Borrower's Name:");
BorrowersName = c.ReadLine();
c.Write(" Borrower's ID:");
BorrowersID = c.ReadLine();
c.Write(" Principal Amount:");
Principal = Convert.ToDouble(c.ReadLine());
c.Write(" Time (year):");
Time = Convert.ToDouble(c.ReadLine());
c.Write(" Rate (decimal):");
Rate = Convert.ToDouble(c.ReadLine());
totamt = Convert.ToDouble(c.ReadLine());
month = Convert.ToDouble(c.ReadLine());
c.Write( BorrowersName + " with Borrower's id:" + BorrowersID + " has to pay a total amount of:" + String.Format(" {0:###,##0.00}" ,totamt) + " with monthly pay of: " + String.Format(" {0:###,##0.00}" ,totamt/24) + " for " + month + " months" );