오름차순, 내림차순 정렬 1. 오름차순 import java.util.Arrays; Arrays.sort(배열명); 랜덤으로 0 ~ 99까지의 정수를 score 배열에 저장한 뒤 오름차순으로 정렬하여 출력하는 알고리즘입니다. import java.util.Arrays; public class Main { public static void main(String[] args) { int[] score = new int[8]; System.out.print("Before -> "); for(int i = 0; i < score.length; i++) { score[i] = (int)(Math.random() * 100); System.out.print(score[i] + " "); } System.out.pr..