✔ 最佳答案
The number of diagonals is n(n-1)/2, where n is the number of sides (or vertices). That is because, for the first vertex, you can make a diagonal, you can make n-1 diagonals with the other n-1 vertices. Then with the second vertex, you can make a diagonal with the other n-2, and so on. So
n-1 + n-2 + ... + 2 + 1 = (n-1)((n-1)+1)/2 = n(n-1)/2 diagonals (The sum of the first n whole numbers is n(n+1)/2.).