Guest User

Untitled

a guest
Apr 26th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. $UserInput= "(1,2)(3,4)(5,6)";
  2. $answer= "(5,6)(1,2)(3,4)";
  3.  
  4. $UserInput= "(1,2)(3,4)";
  5. $answer= "(1,2)(1,5)(3,4)";
  6.  
  7. if (strcmp($UserInput, $answer) !== 0) {
  8. echo 'They do not match';
  9. }
Add Comment
Please, Sign In to add comment