Skip to content

Latest commit

 

History

History
11 lines (11 loc) · 184 Bytes

Q7.md

File metadata and controls

11 lines (11 loc) · 184 Bytes
public static int findMin(Integer [] a){
    int min = a[0];
    for (int i=0; i<=a.length-1;i++){
      if(a[i]<min){
        min = a[i];
      }
    }
    return min;
  }