Skip to content

Commit

Permalink
chore: menambahkan contoh bubble sorting
Browse files Browse the repository at this point in the history
Signed-off-by: slowy07 <[email protected]>
  • Loading branch information
slowy07 committed Oct 8, 2024
1 parent f996908 commit 147fd2a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions contoh/sorting/contoh_bubble_sort.f90
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
!> contoh implementasi bubble sorting

program contoh_bubble_sort_rekursif
use bubble_sort_module
implict none

real:: array(5)
call random_number(array)
print *, "Sebelum: ", array
call bubble_sort(array)
print *, "Setelah array di sorting: ", array
end program contoh_bubble_sort_rekursif

0 comments on commit 147fd2a

Please sign in to comment.