✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
abstract class Rectangle
{ рublic double width, hight;
public Rectangle (double width, double hight)
{this.width = width; this.hight = hight; }
public double Zoom (double d)
{width + = d; hight + = d; return width * hight; }
}
class Program
{ static void Main ()
{Rectangle rect = new Rectangle (10, 20);
rect.Zoom (-5);
System.Console.Write ( "{0} {1}", rect.width, rect.hight);
}
}
Вкажіть результат виведення на консоль після спроби запустити програму на компіляцію і виконання:
C# oop_class