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

A row of the times table · ⁨שורה מטבלת כפל⁩

English

A row of the times table

Use a while loop to print the 3 times table from 3 x 1 to 3 x 5, as 3, 6, 9, 12, 15 — one per line.

The counter and the thing you print do not have to be the same. i counts 1 to 5; what you print is 3 * i.

עברית

שורה בטבלת כפילות

השתמש בלולאת while כדי להדפיס את טבלת הכפילות של 3 מ-3 x 1 ועד ל-3 x 5, כמו 3, 6, 9, 12, 15 — אחד בכל שורה.

הסופר והערך שהמודפסים אינם חייבים להיות אותו דבר. ה-i סופר מ-1 עד ל-5; מה שהמודפס הוא ה-3 * i.

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

IGCSE, A-Level & AP