Hi guys,
This simple java program accepts a number as a limit and analyse each number. If it is prime a flag is set and it is displayed. Also it shows the total number of primes obtained within the range.

Here's the program.
PROGRAM

Click here for instructions for executing the program. --------------------------------------- If not working/incorrect execution please notify me below. Also share your experience. Have a nice day.