Skip to content · ⁨Saltar al contenido⁩

Until you type stop · ⁨Hasta que escribas 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.

Español

Hasta que escribas stop

Lee las palabras una a una hasta que llegue la palabra stop, e informa cuántas vinieron antes.

Lee la primera palabra antes del bucle, para que la condición tenga algo qué probar. Dentro del bucle, cuenta la palabra y luego lee la siguiente. Al presionar Ejecutar, escribe cada palabra y presiona Enter.

Log in or create account · ⁨Iniciar sesión o crear cuenta⁩

IGCSE, A-Level & AP