If you have a 24 foot ladder that is leaning against the building and touching the ground 6 feet from the building. How high up the building is the top of the ladder?

the hypotenuse is 24 ft and the bottom leg is 6ft
A. 24^2+6^2=c^2; 24.7 ft
B. 6^2+b^2=24^2; 23.24 ft
C. a^2+24^2=6^2; 23.24 ft
D. 6^2+b^2=24^2; 24.7 ft

The correct answer is A. 24^2 + 6^2 = c^2; c = sqrt(24^2 + 6^2) = sqrt(576 + 36) = sqrt(612) = 24.7 ft

Therefore, the top of the ladder is 24.7 feet up the building.