Rock Paper Scissors 7/9


Actually How come I'm wrong?!
Really don" know....
can anyone point me out where i wrong plz



You are forgetting a closing-curly-bracket-}
in line close the IF of line 23....

Please read
and concentrate on:

  • the creation of the compare function
  • the truth-table
  • the build of the IF ELSE-IF statement structure as part of the compare FUNCTION-BODY
  • the execution of the compare function (keeping in mind that the return statement is used )