static void Main(string[] args) { var gp = new GeomProgression(2, 2); InterfacesDemo.PrintSeries(gp); System.Console.ReadKey(); }
static void Main(string[] args) { ISeries progression = new GeometricalProgression(2, 2); Console.WriteLine("Progression:"); InterfacesDemo.PrintSeries(progression); }
static void Main(string[] args) { GeometricProgression geometricProgression = new GeometricProgression(1, 2); InterfacesDemo.PrintSeries(geometricProgression); Console.ReadLine(); }
static void Main(string[] args) { var gp = new GeomProg(2, 3); InterfacesDemo.PrintSeries(gp); Console.ReadKey(); }