clear //Given l=6200*10**-10 //m D=0.8 b=2.8*10**-3/4.0 //Calculation d=(l*D)/b //Result printf("\n Separation of the two slit is %0.1f mm",d*10**3)