clear //Given P1=6 P2=-2.0 //Calculation P=P1+P2 f=1/P //Result printf("\n Focal length of the combination is %0.3f cm", f*10**2) printf("\n Power of the combinationis %0.3f D",P)