Thompson - 2 months ago 32

C++ Question

I just have a simple question for the day, I have been looking online for some sort of formula that calculates the number of comparisons and exchanges for exchange sort. I know for selection sort the average number of comparisons would be n(n-1)/2