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 rectangles are similar when the length and width of each are provided as integer values.
if the rectangles have lengths of 10 and 8, the ratio would be 1.25.