mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-25 13:34:54 +08:00
Corrected 'distance' spelling in line 51.
This commit is contained in:

committed by
GitHub

parent
d1e75019a7
commit
912be910c8
@ -48,7 +48,7 @@ start vertex, end vertes and weights. Vertices should be labelled with a number
|
||||
|
||||
public void
|
||||
go() // Interactive run for understanding the class first time. Assumes source vertex is 0 and
|
||||
// shows distaance to all vertices
|
||||
// shows distance to all vertices
|
||||
{
|
||||
Scanner sc = new Scanner(System.in); // Grab scanner object for user input
|
||||
int i, v, e, u, ve, w, j, neg = 0;
|
||||
|
Reference in New Issue
Block a user