Highest value from multiple ints
in
Programming Questions
•
4 months ago
Hi,
I'm trying to compare 3 ints to find which one has the highest amount. Coming from an Arduino background, I coded this:
if(low < med || high){
println("Low is greater than med and high");
}
but I get "The operator || is undefined for the argument types(s) boolean, int"
It seems a pretty logical answer, but I can't seem to find it.
1