搜索资源列表
代码
- 测试一个名为rectangle的矩形类,其属性为矩形的左下角与右上角两个点的坐标,能计算矩形的面积。(Test a rectangular class called rectangle, its attributes for the rectangular lower left corner and the upper right corner of the coordinates of the two points, you can calculate the area of the rect