Find a shortest spanning tree by Prim’s algorithm.Write a program and apply

Find a shortest spanning tree by Prim’s algorithm.

Write a program and apply it to Probs. 6.

Data from Prob. 6

Find a shortest spanning tree by Prim’s algorithm.