Karl Beaudry wrote:
Karl Beaudry wrote:Thanks everyone for the posts. i dont remember anything about isPrimes in my lectures but I will double check that, thanks, it makes sense changing that and last time I created an assignment with something that wasn't mentioned I got smacked for it(figuratively smacked). I wrote an array when I wasn't suppose too. Anyways, Im still working to find out why it wont print out my lines of pair in the output, continues to give me zero outputs for the actual pairs between the given ranges specified by the user.
Karl Beaudry wrote:Thanks everyone for the posts. i dont remember anything about isPrimes in my lectures but I will double check that, thanks, it makes sense changing that and last time I created an assignment with something that wasn't mentioned I got smacked for it(figuratively smacked). I wrote an array when I wasn't suppose too. Anyways, Im still working to find out why it wont print out my lines of pair in the output, continues to give me zero outputs for the actual pairs between the given ranges specified by the user.
Karl Beaudry wrote:
Carey Brown wrote:
Karl Beaudry wrote:
This could be your problem. These three calls are enclosed in braces but are not part of any method.
Carey Brown wrote:ahem. I did post the tweaked code that works.
Karl Beaudry wrote: Why did you change the number to 50_001 and 50_000. Just wonder why you put the _.
Your buns are mine! But you can have this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|