CS1 Standard Demo Page

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

>>> hlep
### Unrecognizable command: hlep
>>> 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 the program
>>> display
one
two
cat
kitty
fudge
santaclaw
corona
extra
checkmate
love
hate
evil
Lucifer
doggy
Stella
>>> print first
one
>>> print last
Stella
>>> print 3
cat
>>> print 19
null
>>> sway 7 5
### Unrecognizable command: sway
>>> ### Unrecognizable command: 7
>>> ### Unrecognizable command: 5
>>> print 14
doggy
>>> swap 5 7 
>>> display
one
two
cat
kitty
corona
santaclaw
fudge
extra
checkmate
love
hate
evil
Lucifer
doggy
Stella
>>> add first dude
>>> add last dontdoooo
>>> display
dude
one
two
cat
kitty
corona
santaclaw
fudge
extra
checkmate
love
hate
evil
Lucifer
doggy
Stella
dontdoooo
>>> exit