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

Functions · ⁨함수⁩

English

A function returns one value

  • A function is like a procedure, and it also hands one value back.
  • The definition says the type of that value: RETURNS INTEGER.
  • RETURN sets the value. It is normally the last line of the function.
한국어

function은 하나의 값을 반환함

  • function은 procedure와 유사하며, 하나의 값을 반송하기도 합니다.
  • 정의문은 해당 값의 타입을 명시합니다: RETURNS INTEGER.
  • RETURN은 값을 설정합니다. 일반적으로 함수의 마지막 줄입니다.

Handout · ⁨교재 자료⁩

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

IGCSE, A-Level & AP