Halimbawa mga array exercises Determine Highest number or lowest number.Anung topic paps
1.Write a Java program to sort an array of given non-negative integers.Halimbawa mga array exercises Determine Highest number or lowest number.
Yun pong mga ganon last topic kase namin yun sir.. Kailangan kasi
//Example
public void sort(int[] array){
//code here
}
//Example
public boolean isSorted(int[] array){
//code here
}
//Example
public int minIndex(int[] array){
//code here
}
// if I have a array ompose of {6,5,8,4,5,4}
//and if I used minIndex(array)
//this should return 3