3 ms·
It's not a bad challenge question.. that said, Is ask if the input and result should still be treated as an integer, floating point or arbitrary decimal value.
by tracker1 3y ago
It's not a bad challenge question.. that said, Is ask if the input and result should still be treated as an integer, floating point or arbitrary decimal value. What level of precision and if rounding at .5 should always be up or random in the case of interest precision.
For the simplest path I'm pretty sure I could figure it out. It's been a few decades since I touched C though.
Aside: currently job hunting and really hate the automated coding challenges. They all suck with too many assumptions. I'd much rather be tossed into a task like TFA in a language I don't even know.