public Fasada() { objAryt = new CiagAryt(); objGeo = new CiagGeo(); objFib = new CiagFib(); obj4Inny = new CiagInny(); }
public void SprInny(double a1, double a2, double a3) { CiagAryt ca = new CiagAryt(); CiagGeo cg = new CiagGeo(); CiagFib cf = new CiagFib(); if (!ca.SprAryt(a1, a2, a3) && !cg.SprGeo(a1, a2, a3) && !cf.SprFibo(a1, a2, a3)) { Console.WriteLine("Jest to ciąg niestandardowy"); } }