Hacker News new | past | comments | ask | show | jobs | submit login

That's why is the highest grade were to be 0, everyone would get infinite marks that caps at 100.



How about just put exception handling around the whole thing, then assign 100 to everyone if there's a DivideByZeroException?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: