文件名称:005
-
所属分类:
- 标签属性:
- 上传时间:2016-05-18
-
文件大小:4.58kb
-
已下载: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
04.dsp
04.dsw
04.ncb
04.opt
04.plg
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.