subject

In C++ please.
If the hypotenuse and one leg of a right triangle are equal to the hypotenuse and one leg of another right triangle, then the two right triangles are congruent. Assume that you are given a function called rightTriangle. It takes three sides of a triangle (the third parameter is the largest, so it will be the hypotenuse if the triangle is a right triangle) and returns true if the triangle is a right triangle and false otherwise. YOU DO NOT HAVE to WRITE THIS FUNCTION. YOU HAVE IT!Also assume that you have a function called equalNums. It takes 4 parameters, if the first 2 are == to the last 2, the function returns false, otherwise the function returns true. So if we send it 3 5 3 5 the function returns true. You do not have to write this function, you have it!Assume that the following variables are declared for two triangles and have values and we know that the 3rd side is the largest side:int triangle1Side1, triangle1Side2, triangle1Side3;int triangle2Side1, triangle2Side2, triangle2Side3;1. Write code in main (using the two functions that you have) to print out whether of not these two triangles are right congruent triangles. (remember that to be right congruent triangles, both triangles need to be right triangles and the hypotenuse and leg of one need to be == to the hypontenuse and leg of the other).

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 11:30, leapfroggiez
Auser is given read permission to a file stored on an ntfs-formatted volume. the file is then copied to a folder on the same ntfs-formatted volume where the user has been given full control permission for that folder. when the user logs on to the computer holding the file and accesses its new location via a drive letter, what is the user's effective permission to the file? a. read b. full control c. no access d. modify e. none of the above
Answers: 1
image
Computers and Technology, 23.06.2019 15:30, taapeters
Brian wants to conduct an online search with a certain phrase. he intends to use the words books that belong to the 1800s in his search. how should he use the word that in his search?
Answers: 1
image
Computers and Technology, 24.06.2019 00:30, sethhdoty
Use the keyword strategy to remember the meaning of the following word. the meaning for the word has been provided. write your keyword and describe the picture you would create in your mind. obfuscate: to make something so confusing that it is difficult to understand.
Answers: 2
image
Computers and Technology, 24.06.2019 05:30, MOONCHILDSUGA
If you combine two cells into one, what action are you performing? a.  adding a new row or column      b.  splitting the cells      c.  removing a new row or column      d.  merging the cells
Answers: 2
You know the right answer?
In C++ please.
If the hypotenuse and one leg of a right triangle are equal to the hypotenuse a...

Questions in other subjects:

Konu
Mathematics, 17.06.2021 20:40
Konu
History, 17.06.2021 20:40