ITEC 120 Lab Quiz 5- Tuesday, April 15

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.
There were 2 odd numbers.
The sum of the numbers is: 26
The average of the numbers is : 5.2
3 6 5 8 4