i m getting 0 if i try 3 -1 -3 -2 i know its because maximum is initialized as int maximum = 0; but how to resolve it?