Where is the error?
I can't find the error. In the Admission In Pairs code trainer: "Entry to the club is only allowed in pairs. Take the number of clients in the club as input, and if they all have a pair, send the output to the console "Correct", otherwise, output "Incorrect" ". My code: My code function main () { var numberGuests = parseInt (readLine (), 10) // Your code goes here var even = 2; if (numberGuests% even == 0) { console.log ("Rigth"); } else console.log ("Wrong"); } Results: Test case 1: Wrong // and the explanation is Input: 36 Your output: Rigth //Why is it wrong Output expected: Rigth //It's the same reult Case 2 Rigth // and the explanation is: Input: 23 Your output: Wrong //... Output expected: Wrong Case 2 Wrong // and the explanation is: Input: 24 Your output: Rigth // Why is it wrong Output expected: Rigth // It's the same reult I really can´t see the mistake. Please if someone can help me I would greatly appreciate it