the volume of 50gram of a substance is 20centimetercube if the density of water is 1gram/centicentimetercube will the object float or sink

Density = 50g/20cm^3 = 2.5 g/cm^3.

The substance will sink, because its' density is greater than the density of water.