CS1 Standard Demo Page

The following text was written to the standard output stream when the WordList.java program was executed from IntelliJ.

The Original List of Words...
Come
to
find
out
I'm
a
can
on
a
string
you're
on
the
end
>>> hth
### Unrecognizable command: hth
>>> help
HELP - display a menu of commands
DISPLAY - display the list of words
PRINT - print a word (FIRST;LAST;nth)
SWAP - exchange two elements (nth;mth)
ADD - add a word to the list (FIRST;LAST)
EXIT - terminate execution of the program
>>> display
Come
to
find
out
I'm
a
can
on
a
string
you're
on
the
end
>>> print
first
Come
>>> print
last
end
>>> print
4
out
>>> swap
2
3
>>> display
Come
find
to
out
I'm
a
can
on
a
string
you're
on
the
end
>>> add
first
test
>>> add
last
Test
>>> display
test
Come
find
to
out
I'm
a
can
on
a
string
you're
on
the
end
Test
>>> exit

Process finished with exit code 0

Process finished with exit code 0