clc //Initialization of variables g=52 Hp=2 //calculations Q=3.48 //cfs V6=3.48/0.196 P=-20.9 //ft P2=P*(g/144) //results printf("Flow rate = %.2f cfs",Q) printf("\n Pressure in the pipe = %.2f psi",P2)