Find the maximum and minimum values from an array of integers.
-
Updated
Jun 27, 2023 - Java
Find the maximum and minimum values from an array of integers.
A collection of statistical algorithms.
Spring Framework and Java_JUnit Test Cases
The MaxMin program is a simple Java application that prompts the user to enter a number of elements and then the elements themselves. It calculates and displays the maximum and minimum values from the provided array of integers.
Write a Java program that does the following: 1- Creates an array of integers with random values between 1 and 1000 (inclusive) and a size of 20. 2- Finds and prints the smallest and biggest values in the array. 3- Calculates and prints the average value of all the elements in the array.
Add a description, image, and links to the maximum topic page so that developers can more easily learn about it.
To associate your repository with the maximum topic, visit your repo's landing page and select "manage topics."