Question: Please write a C program for this problem . Basically, you need to make a Menu using a while loop to choose an option. Sample:
Please write a C program for this problem. Basically, you need to make a Menu using a while loop to choose an option.

Sample:


Please do it as soon as posible
Exercise 1: Create and Display Graph Here you have to take number of nodes as input and the source and destination of connecting edge. After taking input display the full graph with number of edges and nodes Exercise 2: Add new vertex and edge Add a new vertex to the graph and add an edge between the two vertices of the graph. Exercise 3: Delete vertex Delete a vertex and its edges from the graph. Exercise 4: Traversal of graph (BFT and DFT) Given a graph find the Breadth First Traversal and Depth First traversal of the graph. To avoid processing a node more than once, we use a boolean visited array. For simplicity, it is assumed that all vertices are reachable from the starting vertex. #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
