The following text was written to the standard output stream when the NumberList Demo program was executed from Netbeans.
he original list of numbers ... 1 2 3 4 5 6 7 8 9 10 11 >>> SWAP 3 4 >>> DISPLAY 1 2 4 3 5 6 7 8 9 10 11 >>> ADD FIRST 20 >>> DISPLAY 20 1 2 4 3 5 6 7 8 9 10 11 >>> 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 >>>