For a simple connected graph G, Eccentric connectivity index denoted by ( ) c G 7 is defined as: ( ) ( ) ( ( ) ( )) c i V G G E i d i 7 , where E(i) is the eccentricity of vertex i, d(i) is the degree of vertex i and V(G) is the set of vertices of G. Eccentricity of vertex i in a graph G is the path length from verte i to vertex j that is farthest from i. In this paper, an algorithm is presente...