Lab Quiz 5 - an array of integers
Due at the end of lab period.
Submit labquiz5.java to a folder called RU03 in your folder on neelix.
Write a program which will:
Sample run:
Program outputs: | How many integers do you want to type in? |
User inputs: | 5 |
Program outputs: |
Enter number 1: |
User inputs: | 3 |
Program outputs: |
Enter number 2: |
User inputs: | 6 |
Program outputs: |
Enter number 3: |
User inputs: | 5 |
Program outputs: |
Enter number 4: |
User inputs: | 8 |
Program outputs: |
Enter number 5: |
User inputs: | 4 |
Program outputs: |
There were 3 even numbers. |