1 2 3 4 5 6 7
clc //initialisation of variables p= 0.08 //atm //CALCULATIONS a= (1-p)/(p+1) //RESULTS printf ('fraction = %.2f ',a)