Signup/Sign In

Answers

All questions must be answered. Here are the Answers given by this user in the Forum.

Hi, I have successfully submitted that question but don't remember the question statement and for some reason (idk why) the platform wont let be revisit the question statement. I would love to help you if you can just provide the question statement (by question statement I mean the instructions) and the error message too.
3 years ago
HI, are you talking about the ternary operator exercise? If yes:

Well I was stuck at this same exercise for a while, in line 5 I added:
**(x > y)? z=x : z=y**
and in line 6:
**console.log("Value of z:"+z);**
this gave me the correct result in the console on RHS, yet on submit the solution was not being accepted.
after a while of wasting time I realized that I missed the *;* at line 5.. So the corrected one looked like:
**(x > y)? z=x : z=y;**
and this time the solution was accepted!

Hope this helps!
3 years ago