CS1 Standard Demo Page

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

>>> 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
Hey
Sean
What's
Up
Coding
Is
Super
Cool
And
Fun
>>> print first
Hey
>>> print last
Fun
>>> print 3
What's
>>> print 10
Fun
>>> swap 5 7
>>> display
Hey
Sean
What's
Up
Super
Is
Coding
Cool
And
Fun
>>> swap 1 10
>>> display
Fun
Sean
What's
Up
Super
Is
Coding
Cool
And
Hey
>>> 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
>>> add first 100
>>> add last 200
>>> showwords
### Unrecognizable command: showwords
>>> display
100
Fun
Sean
What's
Up
Super
Is
Coding
Cool
And
Hey
200
>>> exit