CS1 Standard Demo Page

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

/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -javaagent:/opt/intellij-idea-community/lib/idea_rt.jar=33201:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/jchimbo/IdeaProjects/CS1/out/production/CS1:/home/jchimbo/Downloads/jfugue-4.0.3-with-musicxml.jar:/home/jchimbo/Downloads/SimpleComposer.jar:/home/jchimbo/Downloads/SimplePainter.jar arrayplay.NumberList
>>> Display
10
15
18
20
33
66
22
98
24
58
97
45
61
25
89
>>> add first 1
>>> add last 2
>>> Dispaly
### Unrecognizable command: Dispaly
>>> display
1
10
15
18
20
33
66
22
98
24
58
97
45
61
25
89
2
>>> swap 5 3
>>> Display
1
10
20
18
15
33
66
22
98
24
58
97
45
61
25
89
2
>>> 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
>>> print first
1
>>>