خرید بک لینک
کلاس RectBob با قابلیت تنظیم و دریافت طول و عرض مستطیل و محاسبه ی محیط و مساحت آن

class RectBox

}

;private int _height

;private int _width

(public void Setheight(int h

}

;height = h_

{

()public int Getheight

}

;return _height

{

( public void Setwidth(int w

}

_width = w

{

()public int Getwidth

}

;return _width

{

()public int Area

}

; return _width * _height

{

()public int Surface

}

;(return 2 * (_height + _width

{

{

برچسب: نویسنده: هلیا سامانی تاريخ: چهارشنبه 17 آبان 1396 ساعت: 1:56

صفحه بندی