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

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 18:00
Freya realizes she does not have enough in her bank account to use the debit card. she decides to use a credit card instead. which questions should freya answer before using a credit card? check all that apply. can i pay at least the minimum payment each month? can i make payments on time and avoid late fees? will i have to take out a loan? how much in finance charges can i afford to pay? should i talk to a consumer credit counseling service?
Answers: 1
question
Computers and Technology, 23.06.2019 22:00
Jackson, who works in the finance department of a company, is holding a seminar for other employees on how to file taxes. only three employees sign up to attend the seminar. which device can he use to share his presentation with a group of three employees?
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
What process should be followed while giving a reference? sam has given a reference of his previous manager in his resume. sam should him in advance that the potential employers will him.
Answers: 1
question
Computers and Technology, 24.06.2019 21:30
Along what line of action can the camera move to follow the movement of actors for screen direction? a. along a 90-degree arcb. along a 120-degree arcc. along a 180-degree arcd. along a 360-degree arc
Answers: 1
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
question
English, 18.03.2021 02:40
question
Social Studies, 18.03.2021 02:40
question
Mathematics, 18.03.2021 02:40
question
Mathematics, 18.03.2021 02:40
question
Mathematics, 18.03.2021 02:40
question
English, 18.03.2021 02:40
question
History, 18.03.2021 02:40
Questions on the website: 13722363