CS1 Standard Demo Page

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



	    "/Applications/IntelliJ IDEA CE.app/Contents/jbr/Contents/Home/bin/java" "-javaagent:/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar=64252:/Applications/IntelliJ IDEA CE.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath /Users/sahaliesullivan/CS1/out/production/CS1:/Users/sahaliesullivan/CS1/jfugue-4.0.3-with-musicxml.jar:/Users/sahaliesullivan/CS1/SimpleComposer.jar:/Users/sahaliesullivan/CS1/SimplePainter.jar arrayplay.NumberList
/Users/sahaliesullivan
>>> 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
2
5
10
34
65
21
0
11
8
9
76
3
>>> print first
2
>>> print last
3
>>> print 6
21
>>> print 12
3
>>> swap 3 11
>>> display
2
5
76
34
65
21
0
11
8
9
10
3
>>>