CS1 Standard Demo Page

The following text was written to the standard output stream when the NumberList 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
>>> add first 1
>>> add last 10
>>> print first
1
>>> swap 1 17
>>> display
10
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
1
>>> exit