minimum element in array

In this article, we are going to find minimum element in array using java code. Example:- If n=4(size of an array) arr={5,8,9,4}, then the output will be 4. Steps:- Java code to print minimum element in array. Output:- You can use the same logic to print minimum element in an array using other programing languages … Read more