NumberList

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

>>>
display
122
48
327
186
57
16
320
444
666
98
173
35
555
>>>
print first
122
>>>
print last
555
>>>
print3
### Unrecognizable command: print3
>>>
print 3
327
>>>
print 18
0
>>>
swap 57 320
>>>
display
122
48
327
186
57
16
320
444
666
98
173
35
555
>>>
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
122
48
327
186
57
16
320
444
666
98
173
35
555
200
>>>