文件名称:Triangle
- 所属分类:
- Windows编程
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- yangl******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
计算三角形的面积和周长,要求如下:
(1)设计出point类(点类)。
(2)设计出triangle类,至少包括其构造方法,以及获取面积和周长的方法等。
(3)通过输人三点坐标的方法来确定一个三角形,并输出三角形的面积、周长等。-Calculation of area and perimeter of triangles, the following: (1) design point type (point type). (2) triangle-type design, including its structure, at least, as well as access to the area and perimeter of the methods. (3) through the three input methods to determine the coordinates of a triangle, and the output of the triangle area, perimeter and so on.
(1)设计出point类(点类)。
(2)设计出triangle类,至少包括其构造方法,以及获取面积和周长的方法等。
(3)通过输人三点坐标的方法来确定一个三角形,并输出三角形的面积、周长等。-Calculation of area and perimeter of triangles, the following: (1) design point type (point type). (2) triangle-type design, including its structure, at least, as well as access to the area and perimeter of the methods. (3) through the three input methods to determine the coordinates of a triangle, and the output of the triangle area, perimeter and so on.
相关搜索: Triangle
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Triangle.java