CS1 Standard Demo Page

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

display
apple
dance
word
hello
sky
blue
purple
potato
fly
high
tomato
tequila
taco
nacho
bell
>>> 
swap 
2 4
>>> 
display
apple
hello
word
dance
sky
blue
purple
potato
fly
high
tomato
tequila
taco
nacho
bell
>>> 
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 
>>> 
exit

Process finished with exit code 0