08.04.2014, 15:55
Hi how to know which variable value is biggest for ex:
Of course varialbes value will be different. But now looking to this example biggest variable is 4
VARIABLESNEW[ 4 ]
But now, how just know which variable is with biggest value?
Код:
new VARIABLESNEW[ 6 ]; VARIABLESNEW[ 0 ] = 10; VARIABLESNEW[ 1 ] = 5; VARIABLESNEW[ 2 ] = 7; VARIABLESNEW[ 3 ] = 3; VARIABLESNEW[ 4 ] = 15; VARIABLESNEW[ 5 ] = 2;
VARIABLESNEW[ 4 ]
But now, how just know which variable is with biggest value?