CMSC 350 Project 4 .. I need a quick review and tweak.
(I’m so close but cant seem to get it to work)
Hello 🙂
I have a small problem I cannot seem to solve and I’m stuck. I need the output to be a bit different.
I attached the requirements document, and my current java programming files, and my input file, and two screenshots. I think I’m so close, but I can’t seem to figure it out. This is the first question I’ve asked so forgive me if my detail is not good enough.
The PDF (project4.pdf) is the requirements document.
The txt file is input.txt file that is the data input for the program to be picked.
The 5 Java files are what I have created so far:
CMSCProject4.java
DFSActions.java
DirectedGraph.java
Hierarchy.java
ParenthesizedList.java
I run this program in CMD command line:
javac CMSCProject4.java & java CMSCProject4
As you can see the output is not correct with the requirements. It is close but not right! : ( : ( : (
The screenshot images show current_output.jpg — that is what it is currently outputting – which is wrong. AND the screenshot image showing the_correct_output.jpg — that is what it should be outputting.
*** current_output.jpg ***
*** the_correct_output.jpg ***
Thanks you soo very very much!


0 comments