Renamed RR and CC to numberOfRows and numberOfColumns

To make the variable names more meaningful.
Renamed variables PAGENUMBER and PAGEOFFSET to pageNumber and pageOffset.

To follow the naming conventions.
Deleted the variable int WW which has never been used .

Useless variable is not needed.
Added spaces and brackets to make printPrimes() more readable.

Separated the code into smaller "chunks" so that it's more readable,
also added backets for the for look and if statement.
Edited printPrimes() to combine two print statements into one.

Too many print statement make the code less readable.
Changed variable ROWOFFSET to rowOffset.

To follow the naming covention.
Took out the for loop in printPrimes() to create a new function printOnePage(int pageOffset).

The for loop basically prints one page, so it's better to make a
separate function for this, to make the code more readable.
Edited printPrimes() by taking out one print statement and make it into a new function printTitle (int pageNumber).

To make the code more readable.
Edited printPrimes() by taking out the print statement that prints a blank line and made it into a new function printBlankLine ().

This will make printPrimes() much more readable, we can see more
clearly what the while loop is doing.
Created a new method using the condition of the while loop in printPrimes().

The new method is called isMoreToPrint(int pageOffset).
Added name and student ID as comments.