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