Hello,

in java, if we want to extract all values between 10 and 100, how could we express between in java.

Is there any symbol like && || ..?

Thank you

you could use a for loop with an array. start it at 10 and then check if the number is < 100 && > 10 and then store it.

>Is there any symbol like && || ..?
No, there isn't any special symbol or keyword. You have to check both bounds

(x>=10 && x<=100)
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.