Assuming the bar of gold has a rectangular form, its volume would be the product between all three dimensions.
[tex]A=10\operatorname{cm}\cdot5\operatorname{cm}\cdot7\operatorname{cm}=350\operatorname{cm}^3[/tex]Therefore, the volume is 350 cubic centimeters.