Get varialbe max value
#1

Hi how to know which variable value is biggest for ex:

Код:
new VARIABLESNEW[ 6 ];

VARIABLESNEW[ 0 ] = 10;
VARIABLESNEW[ 1 ] = 5;
VARIABLESNEW[ 2 ] = 7;
VARIABLESNEW[ 3 ] = 3;
VARIABLESNEW[ 4 ] = 15;
VARIABLESNEW[ 5 ] = 2;
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?
Reply


Messages In This Thread
Get varialbe max value - by audriuxxx - 08.04.2014, 15:55
Re: Get varialbe max value - by Misiur - 08.04.2014, 16:06

Forum Jump:


Users browsing this thread: 1 Guest(s)