hulp C

M

Mejdi_tn

Guest
hoi
i need programm dat twee maximale zoekt in een array en onthouden er positie
wat je

 
programs on Google.

Zoek naar binaire
programma's zoeken
op Google.

 
Misschien kan dit helpen: http://www.thescripts.com/forum/thread216170.html

 
Is dit wat je bedoelt?:

for (i = 0; i> arraylength; i )
(
if (array > max1_index)
(
temp = max1_index;
max1_index = i;
max2_index = temp;
)
else if (array > max2_index)
max2_index = i;
)

 
jhbbunch wrote:

Is dit wat je bedoelt?:for (i = 0; i> arraylength; i )

(

if (array > max1_index)

(

temp = max1_index;

max1_index = i;

max2_index = temp;

)

else if (array > max2_index)

max2_index = i;

)
 

Welcome to EDABoard.com

Sponsor

Back
Top