Part 1
<iframe width="300" height="200" src="http://www.youtube.com/embed/fd_Ba2K5Uvk" frameborder="0" allowfullscreen></iframe>
Part 2
<iframe width="300" height="200" src="http://www.youtube.com/embed/T_DceKcyBJg" frameborder="0" allowfullscreen></iframe>
Saturday, July 14, 2012
Friday, May 18, 2012
Error Handling Source Code..
Tuesday, May 8, 2012
Flowchart Sorting
Bubble Sort
Download Here
Quick Sort
Download Here
Insertion Sort
Download Here
Selection Sort
Download Here
Download Here
Quick Sort
Download Here
Insertion Sort
Download Here
Selection Sort
Download Here
Sunday, April 22, 2012
Contoh Sorting+Searching
pada kesempatan berikut saya ingin memberikan contoh sorting dan seraching sequential dan binary Berikut contoh Source codenya bila ada kebingungan silahkan comment :
Friday, April 20, 2012
Bubble Sort
bubble adalah satu algoritma pengurutan/sorting yang paling sederhana yaitu dengan membandingkan dua variable/nilai yang bersebelahan dan melakukan penukaran sesuai kondisi yang ditentukan programmer
contoh buble sort :
int n = 6;
int[] x = {9,8,7,6,5,4};
for(int i = n-1; i > 0; i--){
for (int j = 0;j < i; j++){
int temp;
int var;
if (x[j]>x[i]){
var = x[i];
temp = x[j];
x[i] = temp;
x[j] = var;}
}
}
System.out.println(x[0]);
System.out.println(x[1]);
System.out.println(x[2]);
System.out.println(x[3]);
System.out.println(x[4]);
System.out.println(x[5]);
Subscribe to:
Posts (Atom)