1 2 3 4 5 6 7 8 9
clc clear //Initialization of variables h=200 //ft gam=64 //lb per cu ft //calculations P=h*gam/144 //results printf("Pressure = %.1f psi",P)