A ladder leans against a vertical wall of height 12m. If the foot of the ladder is 5cm away from the wall. Calculate the height of the ladder

5 cm ?

That is crazy.

you should recognize a 5-12-13 right triangle (if cm is a typo)