CS1 Standard Demo Page

The following text was written to the standard output stream when the WordList 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
You
Me
I
Us
Them
Yes
No
Love
Hate
What
Why
How
When
Where
Which
House
April
Spring
Young
>>> print first
You
>>> print last
Young
>>> print 3
I
>>> print 18
Spring
>>> swap 5 7
>>> display
You
Me
I
Us
No
Them
Them
Yes
No
Love
Hate
What
Why
How
When
Where
Which
House
April
>>> swap 1 18
>>> display
House
You
Me
I
Us
No
Them
Them
Yes
No
Love
Hate
What
Why
How
When
Where
You
Which
>>> 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 flower
>>> add last what
>>> showwords
### Unrecognizable command: showwords
>>> display
flower
House
You
Me
I
Us
No
Them
Them
Yes
No
Love
Hate
What
Why
How
When
Where
You
Which
House
>>> exit