5 - 1. 최대, 최소 import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int min = 0, max = 0; int testCase = sc.nextInt(); int array[] = new int[testCase]; for(int i = 0; i < testCase; i++) { array[i] = sc.nextInt(); } min = array[0]; max = array[0]; for(int i = 0; i < testCase; i++) { if(array[i] < min) { min = array[i]; // 최솟값 }..