자바 알고리즘 기본 -입력을 받는 방법-

1. 최댓값 구하기 프로그램 3개의 정수를 입력받아 최댓값을 구하는 프로그램 package chap01; import java.util.Scanner; public class Max3 { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); System.out.println("세 정수의 최댓값을 구합니다."); System.out.println("a의 값: "); int a = stdIn.nextInt(); System.out.println("b의 값: "); int b = stdIn.nextInt(); System.out.println("c의 값: "); int c = stdIn.nextInt(); //a,b,c..