You are viewing a single comment's thread. Return to all comments →
I don't understand why Math.round gives an answer that passes the third test case but casting your answer to an int doesn't.
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 →
I don't understand why Math.round gives an answer that passes the third test case but casting your answer to an int doesn't.