int a = 10;
int b = 10;
int c = 10;
I am trying to find out if there is alternate way to compare if three ints or anything are equal.
The way i am currently doing is
if( (a == b) && (a == c) && (b == c)){
}
I was wondering if there is an alternate and more concise way to do this.