예제 #1
0
 private static void PrintAccount(string text, Account account, int months)
 {
     Console.ForegroundColor = ConsoleColor.White;
     Console.WriteLine(text);
     Console.ResetColor();
     Console.WriteLine(account);
     Console.WriteLine("Interest amount: " + account.InterestAmount(months));
     Console.WriteLine();
 }