Count the even and odd integers from 1 to 20
There are 10 even integers from 1 to 20
Also, there are 10 odd integers from 1 to 20.
So, the number of ways to generate a pairing of 10 even and 10 odd integers is given by
Therefore, there are 100 different ways for a computer to randomly generate a pairing of an even and an odd
integer out of the numbers 1 through 20.