#How can I check between 3 numbers?

14 messages · Page 1 of 1 (latest)

polar path
dusky rampartBOT
#

This post has been reserved for your question.

Hey @polar path! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

north karma
#

By checking two numbers and then two other numbers

north karma
#

Put in java :
If a is equals to b and a is equals to c

polar path
north karma
#

..... and also use if / else as appropriate

#

We've all been beginners but I was way past that after a day

polar path
#

printEqual(1, 1, 2); Neither all are equal or different?

north karma
#

It's not a matter of Java syntax. Find out what rational steps would lead to this result, and then program a computer to do that with Java

polar path
#

Have a look and guide

if (firstInt != secondInt || firstInt != thirdInt) {
 System.out.println("Neither all are equal or different");
}
north karma
polar path
#

ok, thanks for being here.