//Example 14.2// C=12.01;//amu // atomic mass of Carbon H=1.008;//amu //atomic mass of hydrogen O=16.00;//amu //atomic mass of oxygen a=200;//degree of polymerization b=6;//numbers of atoms e=10;//numbers of atoms d=5;//numbers of atoms mw=(a)*(b*C+e*H+d*O) mprintf("mw = %i g/mol (Answer calculated in the texbook is wrong)",mw)