A row of the times table · แถวหนึ่งของตารางคูณ
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
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. · ใช้ลูป while เพื่อพิมพ์ตารางคูณ 3 จาก 3 x 1 ถึง 3 x 5, เป็น 3, 6, 9, 12, 15 — บรรทัดละหนึ่งตัว
Click Run to see the output here. · คลิก Run เพื่อดูผลลัพธ์ที่นี่