// c > a && a >= b // Analysis if(Math.abs(a)==0 && Math.abs(b) ==0) min= "blue"; else if(Math.abs(b)==0) min= "red"; else min = "green";For execution to reach this section of code, the conditional expression (Math.abs(a)>=Math.abs(b)) failed so we know that 'c' is less than 'a'. We do not know, however, whether 'a' is greater than of equal to 'b'. For the end result, however, it makes no difference, but it does affect the structure of the code.
The first situation that is tested is the scenario where 'a' and 'b' are equal, and both have the value of 0. In this situation, the min variable is assigned with the representational value of 'c' ("blue").
If 'a' and 'b' are equal, but not equal to zero, it is of no consequence to our code which value is
assigned to min. Since, we know that 'a' and 'b' aren't both equal to zero, and that 'a' is at least as great
as 'b', we can assign min to 'b' in all cases other than when 'b' is 0. Read the code carefully and see how
this is accomplished.