subject
Mathematics, 22.10.2020 16:01 gdubak

Read 3 integer numbers from the user; these numbers represent the lengths of 3 straight lines. From the 3 lengths, determine whether a triangle can be formed with the corresponding lines. If it is possible to form a triangle, determine whether the triangle is a right triangle or not. The rules to be used are: 1. To form a triangle where all lines’ ends meet (form vertices), the sum of the lengths of two sides must be greater than the length of the third side. This short video illustrates this concept: How to determine if the three sides make up a triangle. 2. Per the Pythagorean theorem: in a straight triangle, the square of the length of the longest side (the hypotenuse) is equal to the sum of the squares of the lengths of the other two sides. 3. The user can enter the lengths of each line in any order, i. e.: you may not assume that the first length is the longest or the smallest or the middle value.

ansver
Answers: 1

Another question on Mathematics

question
Mathematics, 21.06.2019 19:30
Im literally having a mental breakdown
Answers: 1
question
Mathematics, 21.06.2019 21:30
The map shows the location of the airport and a warehouse in a city. though not displayed on the map, there is also a factory 112 miles due north of the warehouse.a truck traveled from the warehouse to the airport and then to the factory. what is the total number of miles the truck traveled?
Answers: 3
question
Mathematics, 22.06.2019 00:00
The perimeter of a quarter circle is 14.28 miles. what is the quarter circle's radius?
Answers: 1
question
Mathematics, 22.06.2019 01:00
Michael split a rope that was 28 inches long into 5 equal parts. brenden split a rope that was 30 inches long into 6 equal parts. which boy's rope was cut into longer pieces?
Answers: 1
You know the right answer?
Read 3 integer numbers from the user; these numbers represent the lengths of 3 straight lines. From...
Questions
question
Mathematics, 03.02.2022 05:50
question
English, 03.02.2022 06:00
Questions on the website: 13722367