Guest User

Untitled

a guest
Feb 17th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. //Checks correct answers and adds scores
  2. public void submitAnswers(View view) {
  3. if (Ulna.isChecked()) {
  4. score += 2;
  5. //adds two points for a correct answer
  6. }
  7.  
  8. if (Metacarpus.isChecked()) {
  9. score += 2;
  10. //adds two points for a correct answer
  11. }
  12.  
  13. if (Scaphoid.isChecked()) {
  14. score += 2;
  15. //adds two points for a correct answer
  16. }
  17.  
  18. if (Neck.isChecked()) {
  19. score += 2;
  20. //adds two points for a correct answer
  21. }
  22.  
  23. if (Tachypnoea.isChecked()) {
  24. score += 2;
  25. //adds two points for a correct answer
  26. }
  27.  
  28.  
  29. if (SinoatrialNode.isChecked()) {
  30. score += 2;
  31. //adds two points for a correct answer
  32. }
Add Comment
Please, Sign In to add comment