Skip to content

Conversation

sugata98
Copy link

@sugata98 sugata98 commented Oct 4, 2018

C program implementing Dijkstra's Algorithm

C program implementing Dijkstra's Algorithm
Copy link
Member

@Onikiro Onikiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, @sugata98!

  1. Can you add more spaces after semicolon and arithmetic operators(=, +, - etc) in code?
  2. For accept your PR we need tests. You can use any unit-test framework.

scanf("%d",&n);
printf("\nEnter the adjacency matrix:\n");

for(i=0;i<n;i++)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More spacing please.
For example:
(i = 0; i < n; i++)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants