🔒 Closed Sa mga marunong mag program sa java

Status
Not open for further replies.
Guys IT student po course ko baka may mga kagaya ko dito na may mga compilation ng mga java exercises na pinapagawa ng Instructor niyo dati
share sana ng mapag aralan ko as reference.
 
Halimbawa mga array exercises Determine Highest number or lowest number.

Yun pong mga ganon last topic kase namin yun sir.. Kailangan kasi
1.Write a Java program to sort an array of given non-negative integers.
Java:
//Example
public void sort(int[] array){
    //code here
}

2.Write a Java program to check if the non-negative array is sorted.
Java:
//Example
public boolean isSorted(int[] array){
//code here
}
 
3. Write a java program to determine the index of first occurrence of lowest element in the array.
Java:
//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
 
Status
Not open for further replies.

About this Thread

  • 5
    Replies
  • 636
    Views
  • 3
    Participants
Last reply from:
Arcturus

Trending Topics

Online now

Members online
895
Guests online
4,658
Total visitors
5,553

Forum statistics

Threads
2,350,284
Posts
29,366,611
Members
1,087,638
Latest member
Deleted_2812713
Back
Top