### Instruction: Find the area of right angled triangle whose hypotenuse is 15 cm and one of the sides is 12 cm.
Answer Choices: (A) 34 cm² (B) 38 cm² (C) 54 cm² (D) 56 cm² (E) 64 cm² Please write a program to solve it.### Response: answers = ['A', 'B', 'C', 'D', 'E']
# Given hypotenuse is 15 cm and one of the sides is 12 cm
# The other side can be calculated using Pythagoras theorem
# a^2 + b^2 = c^2, where c is the hypotenuse
# So, the other side = sqrt(c^2 - a^2) = sqrt(15^2 - 12^2)
other_side = (15**2 - 12**2)**0.5

# The area of a right angled triangle = 1/2 * base * height
# Here, base and height are the two sides of the triangle
area = 0.5 * 12 * other_side

# Round the area to the nearest integer
area = round(area)

options = [34, 38, 54, 56, 64]
index = options.index(area)
print(answers[index])