subject

// this program uses a bubble sort to arrange an array of integers in // ascending order // place your name here #include using namespace std; // function prototypes void bubblesortarray(int[], int); void displayarray(int[], int); const int size = 5; int main() { int values[size] = { 9, 2, 0, 11, 5 }; cout < < "the values before the bubble sort is performed are: " < < endl; displayarray(values, size); bubblesortarray(values, size); cout < < "the values after the bubble sort is performed are: " < < endl; displayarray(values, size); return 0; } // // displayarray // // task: to print the array // data in: the array to be printed, the array size // data out: none // //

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:10
David is in week 3 of his current ashford course and has a paper due by monday night at midnight. he has finished everything but the concluding paragraph. as he boots up his computer to work on it, he sees a flash across the screen and then the screen goes black. he begins to panic as he tries desperately to turn the laptop back on. david should have saved his work on what kind of portable device?
Answers: 2
question
Computers and Technology, 23.06.2019 13:00
Which one of the following voltages should never be measured directly with a vom? a. 1200 v b. 500 v c. 800 v d. 100v
Answers: 2
question
Computers and Technology, 23.06.2019 13:30
Jace needs to answer a question on square roots to win a quiz. how can he use a spreadsheet to find the square root of 786? a. use the functions round and count b. create a table and chart c. use the function sqrt d. use the function now
Answers: 3
question
Computers and Technology, 24.06.2019 10:50
In 2009 to 2010, how many social network users were reported as being victims of online abuse? a. 1 in 10 b. 100% c.1 in 100 d. 50%
Answers: 2
You know the right answer?
// this program uses a bubble sort to arrange an array of integers in // ascending order // place yo...
Questions
question
Mathematics, 19.01.2021 04:40
question
Mathematics, 19.01.2021 04:40
question
Mathematics, 19.01.2021 04:40
question
Engineering, 19.01.2021 04:40
Questions on the website: 13722359