Please see attached problem and please include the code and .exe file.
For the graph in figure 16-28(a) replicate the trace of Prim’s algorithm to create a minimum-spanning tree. For each step, create the list of minInfo elements in the priority queue and indicate which vertices and edges are in the current spanning tree, along with the accumulated total weight.
Please see Graph 16-28(a) below.