subject

Int side1;
int side2; //additional vars as needed

/*assume there is code here to initialize these values*/

two polygons are said to be similar if their corresponding angles are the same or if each pair of corresponding sides has the same ratio. write the code to test if two right triangles are similar when the measurement of each side is provided as an integer value.

if one set of corresponding sides of the triangles have lengths of 18 and 12, the ratio would be 1.5.

the output needs to display the ratio for each set of sides and a message stating if the triangles are similar or not.

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 00:30, alex7078
Quick pl which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 1
image
Computers and Technology, 23.06.2019 06:00, ashleyd198308
Respond to the following in three to five sentences. select the workplace skill, habit, or attitude described in this chapter that you believe is most important for being a successful employee.
Answers: 1
image
Computers and Technology, 23.06.2019 09:30, blake2001
Which of the following tasks is an audio technician most likely to perform while working on a nature documentary? (select all that apply). eliminating potentially distracting background noise adding sound effects making sure the lighting is adequate for a particular scene changing the narration to better match the mood of the documentary
Answers: 3
image
Computers and Technology, 23.06.2019 14:30, kodak0531
Which of the following would not be considered a pc? a. mainframe b. desktop c. tablet pc d. laptop
Answers: 2
You know the right answer?
Int side1;
int side2; //additional vars as needed

/*assume there is code here to...

Questions in other subjects:

Konu
English, 16.12.2020 18:30