Ma se il Bubblesort degli array è
non ho ben capito come si trasformerebbecodice:for(j=0;j<n-1; j++) for(i=0; i<n-1; i++) if(vet[i]>vet[i+1]) {aux=vet[i]; vet[i]=vet[i+1]; vet[i+1]=aux;}
Ma se il Bubblesort degli array è
non ho ben capito come si trasformerebbecodice:for(j=0;j<n-1; j++) for(i=0; i<n-1; i++) if(vet[i]>vet[i+1]) {aux=vet[i]; vet[i]=vet[i+1]; vet[i+1]=aux;}