Untitled
public text v1 · immutableint finnHoyeste (int tabell[])
{
int storst = 0;
int index = 0;
for (int i=0; i<tabell.length; i++)
{
if (tabell[i]<storst)
{
storst = tabell[i];
index = i;
}
}
return index;
} /* Retunerer index som 0 uansett hvordan gjøre denne global? */