Topic: Graph Theory Problem / Level: beginner

Problem: Write a program to print the degree of each vertex in a weighted directed graph.

Run the code to see the output here...