1 2 3 4 5 6 7 8 9 10 11
clc clear //Initialization of variables per=85 //calculations a=per/12 b=100-per ad=1.13*a bd=1.13*b //results printf("Molecule is C %d H %d",ad,bd+1)