How can I initialize a variable if the result may be even smaller than 0?
for example I want to find the max value between these numbers: -10 -2 -8
during writing the code I have to initialize "max",so how can I do that because it can't be initialized as 0..
Sorry you have provided us with really little information(which I do sometimes to) and we can't help you as we do not know what you are talking about. Please try providing the code as well as more information. Thanks cheers