int A = 3;int B = 5;int C = 7;if (C >= A && C >= B) { //nothing is larger than C.}if (!(A >= B || A >= C)) { //A is the smallest}