반응형
package 자바;
import java.util.Scanner;


public class TestSelectsort {

	public static void main(String[] args) {

		
		// 선택 정렬
		
		int date [] = new int [5];
		int temp;

		int size = date.length;
		int add;	
		Scanner scanner = new Scanner(System.in);
			
		// date 입력
		for(int i=0; idate[j]){
					temp = date[i];
					date[i] = date[j];
					date[j] = temp;		
				}
			}
		}
		
		System.out.println("");
		
		for(int i=0; i

+ Recent posts