Thompson - 6 months ago 73

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