Volume = L · H · W In this case, 3.00cm · 4.00cm · 1.00cm = 12cm3
Density = mass per unit volume; mass = density · volume
Since the volume is one milliliter, and one milliliter is equal to one cubic centimeter, the mass = density · volume = 7.87g/cm3 · 12cm3 = 94.44g
Your answer was close, but the units you gave were meters, not grams.
Since the data had values only to 2 decimal places, the answer must be at the same level.