Write a program to find the minimum element in an array?

Minimum Element


								
package Array;

/**
 *
 * @author stratos
 */
public class MinElement {
    public static void main(String[] args) {
        int a[]={5,7,8,3,11,23,9};
        int min=a[0];
        for(int i=0;i
							
								
3
							

Related Articles

post a comment