Skip to content · ⁨דלג לתוכן⁩

Until you type 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 תגיע, ולאחר מכן דווח כמה הגיעו לפניה.

קרא את המילה הראשונה לפני הלולאה, כדי שהתנאי יהיה לו מה לבדוק. בתוך הלולאה, ספור את המילה ולאחר מכן קרא את הבאה. כאשר תלחץ על הרצה, כתוב כל מילה ולחץ Enter.

Log in or create account · ⁨היכנס או צור חשבון⁩

IGCSE, A-Level & AP