clc //initialisation of variables c=8//mol p=4.5//mol a=79//mol b=21//mol //CALCULATIONS P=c+p//mols O=P*(a/b)//mol //RESULTS printf('the equation for=% f mol',O)