Okay, so the density of water is 1g/cm3. In order for the cube to float, it has to be less than 1, and it will sink if it is more than 1 g/cm3. Use a triple beam balance to weigh the cube, looking at the metric ruler on the balance. Then, if the cube's density is more than 1, then you know it will float. If the density is less than 1, you know it will sink.
hope this helps, and I didn't know how to use the word "metric ruler"