diff --git a/topo_sort.c b/topo_sort.c new file mode 100644 index 0000000..30098b6 --- /dev/null +++ b/topo_sort.c @@ -0,0 +1,61 @@ +#include + +#include + +int main(){ + +int i,j,k,n,a[10][10],indeg[10],flag[10],count=0; + +printf("Enter the no of vertices:\n"); + +scanf("%d",&n); + +printf("Enter the adjacency matrix:\n"); + +for(i=0;i