public static void DoWithdraw(Account account) { Console.WriteLine("How much you would like to withdraw?"); Withdraw withdraw = new Withdraw(account, Convert.ToDecimal(Console.ReadLine())); withdraw.Execute(); withdraw.Print(); }
public void Print() { if (Success) { Console.WriteLine("Transferred $ " + _amount + " from Jake's Account to Landy's Account"); Console.Write(" "); _theWithdraw.Print(); Console.Write(" "); _theDeposit.Print(); } else { Console.WriteLine("Sorry, you transaction was unsucced"); } }