How to write this in c++? 1. Sort the following list using the selection sort algorithm…

How to write this in c++?

1. Sort the following list using the selection sort algorithm as discussed in this chapter. Show the list after each iteration of the outer for loop. 36, 55, 17, 35, 63, 85, 12, 48, 3, 66 (10 points)