int initialDep; Console.WriteLine("Enter the {0} initial deposit for Saving Account", name); while (!int.TryParse(Console.ReadLine(), out initialDep)) { Console.WriteLine("Please enter a valid number!"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)