- The objective of this assignment is to practice fundamental array operations in Java.
- You should implement a program that performs basic tasks on an array of integers.
-
You are given an array of integers:
int[] numbers = {16, 8, 23, 35, 11, 6, 19};
-
Your task is to implement a Java program that performs the following tasks:
- Calculate the sum of all integers in the array.
- Find and display the maximum value in the array.
- Find and display the minimum value in the array.
- Calculate and display the average value of the integers in the array.