HackerRank--HandShake---Basic-Problem

This is the code of hackerrank-basic mathematics problem - handshake In shaa Allah