clc //initialisation of variables p= 214 //mm M= 112.5 //gms m= 18 //gms m1= 10 //gms //CALCULATIONS P= 760-p M1= m1*P*m/(p*M) //RESULTS printf (' quantity of water= %.2f gms',M1)