CS1 Standard Demo Page

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


>>> display
Get
Project
File
Firefox
Word
Google
Iphone
Number
Ignore
Command
Assignment
List
Array
Oswego
>>> swap 1 2
>>> display
Project
Get
File
Firefox
Word
Google
Iphone
Number
Ignore
Command
Assignment
List
Array
Oswego
>>> add last greg
>>> display
Project
Get
File
Firefox
Word
Google
Iphone
Number
Ignore
Command
Assignment
List
Array
Oswego
Arizona
>>> help
HELP - display a menu of command
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
>>>