Given data:
The first leg of the triangle is a=8 cm.
The second leg of the ttriangle is b=15 cm.
The expression for Pythagoras theorem is,
![c^2=a^2+b^2](https://img.qammunity.org/2023/formulas/mathematics/high-school/udh1dsx7kwgfauditnn86pp2qhoycm1tvv.png)
Substitute the given values in the above expression.
![\begin{gathered} c^2=(8cm)^2+(15cm)^2_{} \\ c^2=289cm^2 \\ c=17cm,\text{ -17 cm} \\ =17\operatorname{cm} \end{gathered}]()
Here, consider only positive sign only.
Thus, the hypotenuse length is 17 cm, so option (D) is correct.