Problem 1-18g.  Convert 4.7 gm/cm3 to kg/m3

In solving this problem we must convert:

(a) gm to kg and cm to m

(b) gm to m and cm to kg