clear //Given R=10 l2=68.5 l1=58.3 //Calculation X=R*(l2/l1) //Result printf("\n Value of X is %0.1f ohm",X)