//Example 2.2// a=24.31;//g //atomic mass of Mg (in gram) a1=16.00;//g //atomic mass of O (in gram) m=a+a1;// mass of 1 mol of MgO mprintf("m = %f g ",m) v=22.37;//mm //Volume b=10^-3;//cm^3/mm^3 d=m/(v^3*b) mprintf("\nd = %f g/cm^3",d)