CS1 Standard Demo Page The following text was written to the standard output stream when the TheNumberList.java 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 16 5 27 4 1 32 13 28 61 54 19 11 31 >>> print first 16 >>> print last 31 >>> swap 5 7 >>> display 16 5 27 4 13 32 1 28 61 54 19 11 31 >>> swap 1 8 >>> display 28 5 27 4 13 32 1 16 61 54 19 11 31 >>> 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 >>> shownumbers ### Unrecognizable command: shownumbers >>> display 100 28 5 27 4 13 32 1 16 61 54 19 11 31 200 >>> exit