文件名称:005
- 所属分类:
- 汇编语言
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2016-05-19
- 文件大小:
- 5kb
- 下载次数:
- 0次
- 提 供 者:
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
输入坐标系中三个点A、B、C的坐标,要求:①判断这三个点能否构成一个三角形,如果不能构成三角形,则输出“No”,否则,输出“Yes”。如果能构成三角形②求△ABC的面积;③如果△ABC是直角三角形,则输出“Right”;如果是锐角三角形,则输出“Acute”;如果是钝角三角形,则输出“Obtuse”。
样例输入:0 0 1 0 2 0
样例输出:NO
样例输入:0 0 3 0 0 4
样例输出:
YES
6
Right
-Enter the coordinates of the three points A, B, C coordinates, requirements: to determine whether these three points can form a triangle, if not constitute a triangle, then the output No , otherwise, the output Yes . If you can form a triangle for the area of ABC] (3) if triangle ABC is a right angled triangle, the output of right if the triangle is acute, output acute if it is an obtuse triangle, is output Obtuse.
样例输入:0 0 1 0 2 0
样例输出:NO
样例输入:0 0 3 0 0 4
样例输出:
YES
6
Right
-Enter the coordinates of the three points A, B, C coordinates, requirements: to determine whether these three points can form a triangle, if not constitute a triangle, then the output No , otherwise, the output Yes . If you can form a triangle for the area of ABC] (3) if triangle ABC is a right angled triangle, the output of right if the triangle is acute, output acute if it is an obtuse triangle, is output Obtuse.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
04.cpp
04.dsp
04.dsw
04.ncb
04.opt
04.plg