제어구조
[08] 프로그램 설계 방법론(제어 구조_조건-선택)
주제 : 제어 구조(Control Structure) 기술한 순서대로 진행 메서드 호출 선택 구조 : If와 else문을 사용하여 작성하는 문법 import javax.swing.JOptionPane; public class Conditional { public static void main(String[] args) { String input = JOptionPane.showInputDialog("나이를 알려주세요"); int age = Integer.parseInt(input); if(age