Velocity of sound in any elastic medium is given by v=ρE= Density of the medium Elasticity of the medium
As solids are most elastic while gases least
ie, ES>EL>EG.
So, the velocity of sound is maximum in solids and minimum in gases.
Hence, vsteel >vwater >vair 5000ms−1>1500ms−1>330ms−1