Design a program that generates 100 random numbers, and keeps a count of how many random numbers are even and how many numbers are odd. The pseudocode should be written in modular form. Hint: include a module for the count, a module to test whether the number is even or odd.