title: using switch statement inside a button
body: <p>Please help and I'm sorry if this is covered somewhere else although i have looked elsewhere and whilst there are answers to my topic i cannot find one for my problem. so if anyone could help that would be great.</p>
  
  <p>basically i am trying to do a switch statement inside a button so that when i click the button the statement activates in my label, but for some reason i cannot get it to work
  here is my code below</p>
  
  <p><a href="https://i.stack.imgur.com/rC8Od.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rC8Od.png" alt="enter image description here"></a></p>
  
  <p>when i hit run it always shows the "This is an even number between 0 and 10" regardless of even number, odd number or large number</p>
  
  <p>Any help would be greatly appreciated</p>
  
  <p>thank you very much</p>