文件名称:RightTriangle
介绍说明--下载内容均来自于网络,请自行研究使用
判断三个点是否能够构成直角三角形
1.无法构成三角形,即三点共线 输出They are in a line
2.可以构成三角形,但不是直角三角形,输出no
3.可以构成直角三角形,输出yes-Can be configured to determine whether the three points right triangle
1. can not form a triangle, that is collinear output They are in a line
2. Can the triangle, but not a right triangle, no output
3. may form a right triangle, the output yes
1.无法构成三角形,即三点共线 输出They are in a line
2.可以构成三角形,但不是直角三角形,输出no
3.可以构成直角三角形,输出yes-Can be configured to determine whether the three points right triangle
1. can not form a triangle, that is collinear output They are in a line
2. Can the triangle, but not a right triangle, no output
3. may form a right triangle, the output yes
(系统自动生成,下载前可以参看下载内容)
下载文件列表
RightTriangle.cpp