package bsort; public class BubbleSort { public static void main(String[] args) { double[] tab = { 2.3, 17.0, 3.14, 8.83, 7.26 }; for(int i=tab.length-1; i>0; i--) { for(int j=0; j tab[j+1]) { double tmp = tab[j+1]; tab[j+1] = tab[j]; tab[j] = tmp; } } } for(int i=0; i