文件名称:Triangle
-
所属分类:
- 标签属性:
- 上传时间:2013-01-03
-
文件大小:778byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
计算三角形的面积和周长,要求如下:
(1)设计出point类(点类)
(2)设计出triangle类(三角形类),至少包括其构造方法,获取面积和周长的方法。
(3)通过输入三点坐标的方法来确定一个三角形,并输出三角形的面积周长等内容。
-Calculate the area and perimeter of triangles, requirements are as follows: (1) design point class (point) (2) design triangle class (triangle), including at least the constructor for area and perimeter. (3) Three-point coordinates to determine a triangle, and to output the contents of the area of the triangle perimeter.
(1)设计出point类(点类)
(2)设计出triangle类(三角形类),至少包括其构造方法,获取面积和周长的方法。
(3)通过输入三点坐标的方法来确定一个三角形,并输出三角形的面积周长等内容。
-Calculate the area and perimeter of triangles, requirements are as follows: (1) design point class (point) (2) design triangle class (triangle), including at least the constructor for area and perimeter. (3) Three-point coordinates to determine a triangle, and to output the contents of the area of the triangle perimeter.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
TestPoint.java
Triangle.java
Triangle.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.