Let maximum height be H
From the formula, v2=u2−2gs
(10)2=u2−2gH/2=u2−gH ........(1)
For attaining maximum height, v=0
0=u2−2gH⇒u2=2gH
Putting the value of u2 in (1),
100=2gH−gH=gH
H=100g=10010=10metre