Limits: 1s, 512 MB
Shibli is a very good student. He is very regular and attentive in his classes. He is very serious about his study. So he makes good result in every semester. Recently his previous semester result has published. Since Shibli is very busy with his study he asks his good friend Swapnil who is a very good programmer to calculate his Grade Point Average (GPA).
This is a companion discussion topic for the original entry at https://toph.co/p/gpa-calculator