Advertisement
Guest User

lab5matchin

a guest
Apr 18th, 2015
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. if (a0 == e.selected_answers[0]) {
  2. match_count++;
  3. }
  4. if (a1 == e.selected_answers[1]) {
  5. match_count++;
  6. }
  7. if (a2 == e.selected_answers[2]) {
  8. match_count++;
  9. }
  10. if (a3 == e.selected_answers[3]) {
  11. match_count++;
  12. }
  13. matches.push([match_count, e.username]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement