-
Submit Program
Write the following functions and use them in a program which reads in (or hard-codes in) a graph represented as an adjacency matrix and calls the functions.- Write a function which when passed the adjacency matrix displays the vertices in depth first order. (see tute exercise)
- Write a function which when passed the adjacency matrix will return the sum of the degrees of the vertices.
Debug this program
Ensure you know how to terminate your program on end-of-file. Debug the following program. eofa.cc
[an error occurred while processing this directive]