Question: please don't forget to put the user input user interface: 2[25 Points] Adjacency Matrix Given the Adjacency Matrix of a directed graph, write a C++
please don't forget to put the user input
![please don't forget to put the user input user interface: 2[25 Points]](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3e64cc0af7_23666f3e64c41154.jpg)
user interface:

2[25 Points] Adjacency Matrix Given the Adjacency Matrix of a directed graph, write a C++ program to determine the following. a) The vertices with the maximum and minimum in-degree b) The vertices with the maximum and minimum out-degree c) The vertices which are mutually adjacent (two vertices A and B are mutually adjacent if there are edges from A to B and from B to A). Print suitable messages. The program should be designed in a way which facilitates testing by a user via specifying the number of (vertices) nodes, and the vertices adjacent to any given vertex. The following is a suggested outline. You have the flexibility to improve upon it, as long as it provides the interaction by a user to create the graph and ask questions. In the following it is assumed that the vertices are automatically labeled A, B, C, etc. B For example, the interaction when the program is run is as follows (user input is shown in 'red'). Type in the number of vertices in the graph: 5 Type in the vertices adjacent to 'A': BCE Type in the vertices adjacent to B: A, E, D Type in the vertices adjacent to 'C': AC (... etc....) After the graph (ex. above) is created, it should print out the answers to the questions in the exercise. Vertices with self-loops: C Graph is not completely connected The graph has no isolated vertex For the (ex. below), it should print out: B Vertices with the maximum in-degree: E (in-degree = 3) Vertices with the minimum in-degree: D (in-degree = 0) Vertices with the maximum out-degree: A (out-degree = 3) Vertices with the minimum out-degree: E (out-degree = 0) ... Etc
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
