We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
it has to do with rounding up/down numbers.
the code isn't wrong. but there's a difference between the compilers.
I just "cheated" and got done with it after looking for a way to get it right. There is a way, but that's above the level they're trying to teach.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Day 2: Operators
You are viewing a single comment's thread. Return to all comments →
it has to do with rounding up/down numbers. the code isn't wrong. but there's a difference between the compilers. I just "cheated" and got done with it after looking for a way to get it right. There is a way, but that's above the level they're trying to teach.