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 18:20
Match each inequality to the number line that represents its solution
Answers: 3
question
Mathematics, 21.06.2019 23:30
What is the area of a triangle with a base of 7x and height of 8x expressed as a monomial? question 5 options: 1x 15x2 28x2 56x2
Answers: 1
question
Mathematics, 22.06.2019 06:00
As a project for math class, two students devised a game in which 3 black marbles and 2 red marbles are put into a bag. first the players must decide who is playing black marbles and who is playing red marbles. then each player takes a turn at drawing a marble, noting the color, replacing the marble in the bag, and then drawing a second marble and noting the color before returning it to the bag. the point scheme for the game is detailed in the table below. point values for marble game black marble points red marble points both black: +2 points both red: +4 points different colors: –1 point different colors: –1 point both red: 0 points both black: 0 points
Answers: 2
question
Mathematics, 22.06.2019 06:30
If a piece of wood with a length of five feet is cut into six equal pieces, what is the length of each piece?
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
Engineering, 28.05.2020 15:00
question
Chemistry, 28.05.2020 15:00
question
Mathematics, 28.05.2020 15:00
Questions on the website: 13722361