-->
当前位置:首页 > 题库

PROGRAMMING:triangle

Luz5年前 (2021-05-10)题库414
Input the length of three line segments (integer), according to whether it can form a triangle, output one of the following results: acute triangle, right triangle, obtuse triangle, can not form a triangle.
###Input format:
Three integers
###Output format:
```
Acute triangle output: acute triangle
Right triangle output
Obtuse triangle output: obtuse triangle
Cannot form triangle output: not triangle
```
###Input example:
```in
2 3 3
```
###Output example:
```out
Acute triangle
```
###Input example:
```in
5 4 3
```
###Output example:
```out
Right triangle
```
###Input example:
```in
6 4 3
```
###Output example:
```out
Obtuse triangle
```
###Input example:
```in
8 4 3
```
###Output example:
```out
Not triangle
```







answer:If there is no answer, please comment