Question: please show how to fix this error. im stuck and getting error of Edge being undeclared uitecteu and weighted JUU YILI CUMelleu, #include #include #include
please show how to fix this error. im stuck and getting error of Edge being undeclared
uitecteu and weighted JUU YILI CUMelleu, #include #include #include 11 a structure to represent a weighted edge in gr struct Edge 10 11 int src, dest, weight; }; 13 14 // a structure to represent a connected, undirect // and weighted graph struct Graph 16 // V-> Number of vertices, E-> Number int V, E; // graph is represented as an array // Since the graph is undirected, the // from src to dest is also edge from H to src. DOLIL are munted as 1 edges struct Edge* edge; // Creates a graph with v vertices and E edges struct Graph* createGraph(int v, int E) struct Graph* graph; graph->V = V; graph->E-E, graph->edge = Edge [E]; return graph; 37 } 38 39 // A structure to represent a subset for union- 40 struct subset 41 { int narent: uitecteu and weighted JUU YILI CUMelleu, #include #include #include 11 a structure to represent a weighted edge in gr struct Edge 10 11 int src, dest, weight; }; 13 14 // a structure to represent a connected, undirect // and weighted graph struct Graph 16 // V-> Number of vertices, E-> Number int V, E; // graph is represented as an array // Since the graph is undirected, the // from src to dest is also edge from H to src. DOLIL are munted as 1 edges struct Edge* edge; // Creates a graph with v vertices and E edges struct Graph* createGraph(int v, int E) struct Graph* graph; graph->V = V; graph->E-E, graph->edge = Edge [E]; return graph; 37 } 38 39 // A structure to represent a subset for union- 40 struct subset 41 { int narent