CS1 Primes Demo Page

The following text was written to the standard output stream when the Primes arrayplay 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=36771:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/gbrecken/IdeaProjects/CS1/out/production/CS1:/home/gbrecken/Downloads/jfugue-4.0.3-with-musicxml.jar:/home/gbrecken/Downloads/SimpleComposer.jar:/home/gbrecken/Downloads/SimplePainter.jar arrayplay.Primes
length of primes array = 4
first prime = 2
last prime = 7
last prime = 7

The initial array ...
2
3
5
7

The final array ...
7
3
5
2

Process finished with exit code 0