CS1 Standard Demo Page

The following text was written to the standard output stream when the AfterJSB 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
one
two
hamburger
sven
chris
christmas
birthday
because
nine
daniel
>>> print first
one
>>> print last
daniel
>>> swap 1 10
>>> display
daniel
two
hamburger
sven
chris
christmas
birthday
because
nine
one
>>> exit

Process finished with exit code 0