This program is a graph structure by C programming language.