Count the number of odd and even numbers in an array. Complete the following tasks:
1. Using WriteString procedure from Irvine Library, prompt the user for the number of
elements that he/she would like to enter to the array. Use ReadInt procedure from Irvine
Library to read the integer and store it to a variable, which you will be using later in the
program.
C:\Project32_VS2017\Project32_VS2017\Debug\Project.exe
Enter the number of elements in array: 12
2. If the number entered exceeds 10, prompt the user with a message box as shown below and
let the user enter the number again. (This means that the user cannot enter more than 10
elements in the array.) You can use MsgBox procedure from Irvine Library.
The number cannot exceed 10. try again
OK
3. Then prompt the user to enter each number. If five numbers are expected, the user should
be prompted to enter the number five times.
C:\Project32_VS2017\Project32_VS2017\Debug\Project.exe
Enter the number of elements in array: 5
Enter number 12
Enter number 14
Enter number 16
Enter number 18
Enter number 28
4. Write two procedures namely countEven proc and countOdd proc to count the number of
even number and odd number respectively.
5. Using WriteString and WriteInt from Irvine Library to output the results. The output should
be exactly as shown below. Use Crlf to move to new line before printing out the second
line.
Your array is: 12-14-16-18-28
Numbers of Even Numbers: 5
Numbers of Odd Numbers: 0
What you need to submit:
1. Your assembly code in one .asm file for the above tasks.
2. One word/pdf file that shows the screenshots of the console for each step.