The length of the two legs of a right triangle are 18 cm and 24 cm.
What is the length of the hypotenuse of the triangle?
O A. 30 cm
OB. 36 cm
OC. 42 cm
D. 48 cm