I have three variables a b c. I want a way (in java) of selecting the Min of these variables and adding 1 to it without using an array to sort the values.
Is there a way to do this ?
At the beginning of the program all these variables will be equal to zero.