What is the purpose of the following code?
Sort an array of integers using the bubble sort algorithm.
a. Print the elements of an array of integer...
What is the purpose of the following code?
Sort an array of integers using the bubble sort algorithm. a. Print the elements of an array of integers. b. Search for a specific element in an array of integers. c. Calculate the sum of the elements of an array of integers. d. Remove duplicates from an array of integers.
O objetivo do código é ordenar um array de inteiros usando o algoritmo bubble sort e imprimir os elementos do array ordenado. A alternativa correta é a letra a.
0
0
Faça como milhares de estudantes: teste grátis o Passei Direto
Compartilhar