저수준의 구조적 프로그래밍

저수준의 구조적 프로그래밍은 순차,분기,반복 등으로 이루어진다.

class If01{
	public static void main(String args[]) {
		int score = 80;

		if (score > 60) {
			System.out.println("합격입니다.");
		}else if (score<= 60)
      System.out.println("불합격입니다.");
	}
}
class For01{
	public static void main(String args[]) {
		int num = 0;

		// 괄호{} 안의 내용을 5번 반복한다.
		for (int i = 1; i <= 5; i++) {
		
			System.out.println(num);
		}
	}
}

특징