06.05.2013 Views

CONTENIDO DE LA LECCIÓN 18

CONTENIDO DE LA LECCIÓN 18

CONTENIDO DE LA LECCIÓN 18

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

MIGUEL Á. TOLEDO MARTÍNEZ<br />

void main(void)<br />

{<br />

Ejemplo <strong>18</strong>.28<br />

}//Fin de clasifBurbuja()<br />

int arr[MAX];<br />

int numElementos;<br />

{<br />

int temp = intArr[i];<br />

intArr[i] = intArr[j];<br />

intArr[j] = temp;<br />

}//Fin de for<br />

numElementos = obtenNumPuntos(MIN, MAX);<br />

entradaArreglo(arr, numElementos);<br />

cout

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!