CGPA Grade: a coding challenge

The placement cell sorts students by CGPA.