Test:
public class user_ProgramTest
{
public static void main ( String args[] )
{
user_Program foo = new user_Program();
foo.processSieve(); // run the Sieve...
Type: Posts; User: DestinyChick1225
Test:
public class user_ProgramTest
{
public static void main ( String args[] )
{
user_Program foo = new user_Program();
foo.processSieve(); // run the Sieve...
first before it prompts the user for a lower number it goes through all the primes between 1 and 50000
This is what it reads:
There were 40731 sexy prime pairs displayed between 1 and 50000...
A sample of what i am suppose to get:
Please enter a lower boundary and an upper boundary and I will print all of the
sexy prime pairs between those boundaries.
Please enter the lower boundary...
I really dont understand why:
First, my program is loading every number possible before prompting my user for a number between boundaries.
Second, why my program keeps listing off way more...