To be honest i really don't know where to start or what should I. The problem states, "Given the vertex pairs associated to the edges of an undirected graph, find the degree of each vertex." I.e. (A square has 4 vertex then the degree of each vertex is 2.)
It should be working in a turbo c code. So if any one can help with making with this code or helping me in what should i do. Thanks. Much appreciated.

Do you know the meaning of this?

A square has 4 vertex then the degree of each vertex is 2.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.