Question: ****use visual studio C++. Please comment if can for me to understand the code better.The first photo is the assignment and second photo is the
****use visual studio C++. Please comment if can for me to understand the code better.The first photo is the assignment and second photo is the code to finish. Thank you.*****

Objectives: 1. Explore how to sort an array using bubble sort algorithm. Question: Download labl6.cpp and use it as your driver program. Then. complete the body of the bubbleSort function so that a list of character is sorted in descending order (from 'z' to 'a') You need to complete the following function prototype and get the same output. void bubbleSort (char list[, int len) Precondition: The function accepts an array of characters and an integer which represents the size of the array Post-condition: Array is sorted_in descending_order (from 'z'to 'a Post-condition: Array is, sorted ir Output: CAWINDOWS1system321cmd.exe Before sorting, the list elements are: After sorting, the list elements are: ea res m a r t t s r r m e e a ress any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
