Hi I would like to know what operator to use for a number in between my input.

Is it something like this?

If I input the number between 116 and 200.

else if (Earn>=116)&&(Earn <=200)

Recommended Answers

All 3 Replies

it would be:

else if (Earn>=116 && Earn<=200) {
     //statement to execute here
}

hope this helps.

TJ

Hi i m having problem in java for passing value from one frame to another.Please kindly do help me..................................

commented: unrelated to topic -1

Hi i m having problem in java for passing value from one frame to another.Please kindly do help me..................................

and this has what to do with the previous posts? either stay on topic, or start a new thread

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.