Bryn Mawr College
CMSC 206: Data Structures
Instructor: Deepak Kumar
Due on Thursday, September 8, 2016
Title: Computing primes
Assignment 2 (Due in class on Thursday, September 8): Write a Java program to print out all the prime numbers between 1 and 100.
Hint: You will need to write a function isPrime() to tell if a number is prime or not.
What to Hand-in:
1. A print out of your Java program along with its output.
2. Write a short reflection on your experiences with this assignment.
3. Staple all of these together and hand them in at the start if the class on the due date.