Skip to content

Creat Dijktra-algo.c #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Creat Dijktra-algo.c #25

wants to merge 1 commit into from

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