In the Royal Grammar School all Year \(9\) students were gathered in the Queen’s Hall for an important announcement. They have been waiting for it for a while and everyone had enough time to greet every other student with a handshake. Assuming there are \(100\) Year \(9\) students at the school, how many handshakes were made before the announcement?