Question: C++ This assignment has 3 parts: 1. As I explained in the lecture, I want you to modify the insertion sort code I showed to
C++
This assignment has 3 parts: 1. As I explained in the lecture, I want you to modify the insertion sort code I showed to sort numbers in descending order. In your submission explain the idea of your modification in a line (a couple of lines if needed) and submit the code and a screenshot of the output. (Writing some new code from scratch is not accepted) 2. The second part is to implement the selection sort based on the description I presented. This assignment is to practice implementing an algorithm that we know in detail. As a result, you are not allowed to google anything or look up anything. If any part of the description is vague to you just ask me. 3. The third part is to modify the diagonal traverse code to traverse the matrix in the order I showed at the end of the lecture. In your submission explain the idea of your modification in a line (a couple of lines if needed) and submit the code and a screenshot of the output. If you want you can do this assignment in gdbobline or any other IDE that you are comfortable with but make sure that you submit a.cpp file and a screenshot of only your output. (Writing some new code from scratch is not accepted)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
