clc //Intialisation of variables s=20 // s= 1/3 degree LC=1/3 // LC=20' n= s/LC x=n-1 //Results printf (' %f',x) printf (' such primary divisions should be taken for the length of the vernier scale and then divided into %2f parts for a direct vernier',n )