silver has density of 10.5 g/cm3 and gold has a density of 193.g/cm3 which liquid is denser

silver and gold are liquids? That's news to me.
You're given the ratios for density, which ratio is greater 10.5gm/cm^3 or 193gm/cm^3?
It appears gold is over 18 times as dense as silver.

You have a decimal point out of place on gold. The density of gold is 19.3 g/cc.

I apologize for the confusion. Silver has a density of 10.5 g/cm^3, and gold has a density of 19.3 g/cm^3. So gold is denser than silver.