CS1 Standard Demo Page

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

>>> add first hi
>>> display
hi
cool
I
like
food
and
other
things
like
chicken
and
even
more
chicken
>>> help
HELP - display a menu of commands
DISPLAY - display the list of numbers
PRINT - print a number (FIRST;LAST;nth)
SWAP - exchange two elements (nth;mth)
ADD - add a number to the list (FIRST;LAST)
EXIT - terminate execution of displaythe program
>>> display
hi
cool
I
like
food
and
other
things
like
chicken
and
even
more
chicken
>>> swap 1 3
>>> display
I
cool
hi
like
food
and
other
things
like
chicken
and
even
more
chicken
>>> print 7
other
>>> exit