sorry your algorithm is not working correctly. Any ideas

If you're refering to mine, I would need to see how you are using it. What doesn't work about it? Does it not compile, is it returning the wrong answer, etc.? Give examples if it's not returning the correct answer.

sorry your algorithm is not working correctly. Any ideas

It seems this extremely capacious comment to your helper's (;)) efforts is not looking like unnecessarily correct.
How about YOUR ideas?

my bad. I used the wrong function. sorry XD
So now in order to implement the interval should i just make a loop and check for each number?

Are you lost in conjecture?.. or have too many choices?..
;)

many choices... and i have to make it work really fast

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.