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?




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: