clc; o=16.00; //atomic mass of O h=1.008; //atomic mass of H mh2o=(o+2*h)*1.66*10^-27; //mass of H2O molecule disp(mh2o,"Mass of H20 molecule in kg = "); //displaying result c=12.01; //atomic mass of carbon m=((2*c)+o+(6*h))*1.66*10^-27; //mass of C2H6O molecule disp(m,"Mass of Ethyl Alcohol molecule in kg = "); //displaying result