Step-by-step explanation:
All you need is the equation;
[tex] \frac{x \times (x - 1)}{2} [/tex]
imput any value x and you will get the amount of handshakes