자바버블정렬 썸네일형 리스트형 1157 : 버블정렬 import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner scan = new Scanner(System.in); int n, i, j; int arr[] = new int [101]; int tmp; n = scan.nextInt(); for (i = 0; i arr[j + 1]) { tmp = arr[j + 1]; arr[j + 1] .. 더보기 이전 1 다음