diff --git a/.idea/misc.xml b/.idea/misc.xml index 07115cd..f3f4fc6 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/src/RecipeInstructions.java b/src/RecipeInstructions.java index f4f09eb..79ebb35 100644 --- a/src/RecipeInstructions.java +++ b/src/RecipeInstructions.java @@ -21,6 +21,7 @@ public class RecipeInstructions RecipeCreation(userInstruction,fullInstructions); fullInstructions.printTree(); + System.out.println(fullInstructions.sortTopology()); } while(!userInstruction.equalsIgnoreCase("done")); }