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

Until you type stop · ⁨stop을 입력할 때까지⁩

English

Until you type stop

Read words one at a time until the word stop arrives, then report how many came before it.

Read the first word before the loop, so the condition has something to test. Inside the loop, count the word and then read the next one. When you press Run, type each word and press Enter.

한국어

stop을 입력할 때까지

단어를 하나씩 읽어서 stop이라는 단어가 도착할 때까지 기다린 후, 그 전에 들어온 단어가 몇 개였는지 보고하십시오.

루프 전에 첫 단어를 먼저 읽으세요. 그러면 조건이 테스트할 대상이 생깁니다. 루프 안에서는 단어를 세고 다음 단어를 읽습니다. 실행 버튼을 누르면 각 단어를 입력하고 Enter를 누르십시오.

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

IGCSE, A-Level & AP