// Constructor public MathProblem(double a, double b, ProblemWritter problemWritter) { A = a; B = b; this.problemWritter = problemWritter; }
public Substraction(int a, int b, ProblemWritter problemWritter) : base(a, b, problemWritter) { }
public Summation(int a, int b, ProblemWritter problemWritter) : base(a, b, problemWritter) { }
public Pushka(int a, int b, ProblemWritter problemWritter) : base(a, b, problemWritter) { }