0
Cold water.
If it is in boiling water the egg will cook, but the egg will cook before the water in the egg boils.
a egg can float in salt water because the water is denser than the egg
an egg floats on water because the density of water is lower than the density of the egg.
It floats or if it sinks it is fresh and if it goes in the middle it could be rotten or not it depends