CS1 Standard Demo Page

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

>>> 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 words to the list (FIRST;LAST)
EXIT - terminate execution of the program
>>> display
unaccountable
frogs
telling
view
attraction
quill
land
knit
zinc
pine
wiggly
frail
terrific
milky
substantial
>>> print first
unaccountable
>>> print last
substantial
>>> print 3
telling
>>> print 15
substantial
>>> swap 5 7
>>> display
unaccountable
frogs
telling
view
land
quill
attraction
knit
zinc
pine
wiggly
frail
terrific
milky
substantial
>>> swap 1 5
>>> display
land
frogs
telling
view
unaccountable
quill
attraction
knit
zinc
pine
wiggly
frail
terrific
milky
substantial
>>> 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 words to the list (FIRST;LAST)
EXIT - terminate execution of the program
>>> add first First
>>> add last Last
>>> showwords
### Unrecognizable command: showwords
>>> display
First
land
frogs
telling
view
unaccountable
quill
attraction
knit
zinc
pine
wiggly
frail
terrific
milky
substantial
Last
>>> exit