using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Chapter4_6Expanded { /****************************** * This class get's the user input for * the amount of change to process * and passes it to the Change class * through its constructor * Then it calls the ToString() method of * the change class to display its results. * Steve Conger 10/20/2008 * ********************************/ class Display { public Display() { GetChange(); } public void GetChange() { Console.WriteLine("Enter the amount of change under a dollar"); int ch = int.Parse(Console.ReadLine()); Change change = new Change(ch); Console.WriteLine(change.ToString()); Console.ReadKey(); } } }