Skip to content · ⁨본문 바로가기⁩

Nested decisions · ⁨중첩된 결정⁩

English

One mark, three outcomes

  • A mark of 80 or more is a distinction, 50 or more is a pass, and anything lower is a fail.
  • One IF has two paths. The second decision goes inside the ELSE, as its own IF.
  • Each IF has its own ENDIF. Indent the inner one so you can see which ELSE it belongs to.
한국어

한 점, 세 가지 결과

  • 80점 이상은 우등(distinction), 50점 이상은 합격(pass), 그 이하의 모든 점수는 불합격(fail)입니다.
  • 하나의 **IF**는 두 가지 경로를 가집니다. 두 번째 결정은 ELSE 내부에 위치하며, 그 자체로 하나의 **IF**입니다.
  • 각 **IF**는 고유한 **ENDIF**을 가집니다. 안쪽의 것을 들여쓰기하여 어떤 **ELSE**에 속하는지 알 수 있게 하십시오.

Handout · ⁨교재 자료⁩

Log in or create account · ⁨로그인 또는 계정 만들기⁩

IGCSE, A-Level & AP