My code link : https://ide.codingblocks.com/s/430413
I am able to solve this problem for two student, but for more nos. of students, I am not able to think how it will be solved?
In this i did not take input for student I assuming for two studnent and solving it
Thanks in Advance !!!