Hi Geeks,
I’m trying learn and improve my maths, javaScript skill. And currently I’m strucked at the following Skill Test.
Thanks.
Hi Geeks,
I’m trying learn and improve my maths, javaScript skill. And currently I’m strucked at the following Skill Test.
Thanks.
Hello, remember that your finalResult should be 48. Try doing each of the calculations individually and see what number your getting.
Hi there @akashjoffl!
So, a few things here:
let finalResult;
let evenOddResult;
Otherwise it may not work.
finalResult
and evenOddCheck
declared in your code, so you don’t need to include let
again (in fact, it will throw an error). Instead, you need to do this:finalResult = sum * sub;
evenOddCheck = finalResult / 2;
Thanks @chrisdavidmills