d=input("Input diameter in mm ...");
x=input("Input number between 25 to 40... ");
B=x*d
printf("\nBurden is %d mm\n",B)
S=1.15*B
printf("\nSpcing is %d mm\n",S)
St=20*d
printf("\nStemming is %d mm\n",St)
y=input("Input number between 3 to 15 ... ");
Sj=y*d
printf("\nSubfrill is %d mm\n",Sj)
BH=d/15
printf("\nBench height is %d m \n",BH)
ss1=d/10
ss2=d/20
printf("\nStemming material size is between %d to %dmm \n",ss1,ss2)
Br=BH/B
if(Br>=2),(Br<=3.5)
printf("\nBurden stiiffness ratio is good fragmentation\n")
else(Br>3.5)
printf("\nBurden stiiffness ratio is very good fragmentation\n")
end
L=BH+Sj
printf("\nHole lengt is %d m\n",L)
C=L-St
printf("\nCharge length is %d m \n",C)
N=input("Input number of hole in blast ...");
V=B*S*BH*N
printf("\nBlast volume is %d m^3 \n",V)
Dr=input("Input density rock in t/m^3 ...");
T=V*Dr
printf("\nBlasted tonnes is %d t\n",T)
Vb=3.1416*(d^2/4000)*L
printf("\nVolume of blasthole is %d \n",Vb)
Vh=input("Input volume of hole length charged ...");
Ex=input("Input explosive density ...")
Mx=Vh*Ex
printf("\nMass ogf explosive per hole is %d kg \n",Mx)
PF=T
printf("\nPF is %d kg/m^3 \n",PF)
AWSE=input("Input absolute weight sterngth of explosive is ...")
AWSA=input("Input absolute weight sterngth of ANFO is ...")
RWS=AWSE/AWSA*100
printf("\nRWS is %d \n",RWS)