1.1 Check for odd/even numbers using “mod” operation

Scratch solution

View solution

This is just one of many possible solutions:

whenclickedaskEnter a number:andwaitsetnumbertoanswerifnumbermod2=0thensayYou entered an even number!elsesayYou entered an odd number!

Back to programming challenge