The basic formula for this question is:

the mass = density · volume

so we have

7.87g/cm^{3} · 12cm^{3} = 94.44g