Trace nested loops
หน้านี้ต้องใช้เบราว์เซอร์ล่าสุด (รองรับ SharedArrayBuffer) กรุณาอัปเดต Chrome, Edge, Firefox หรือ Safari เป็นเวอร์ชันล่าสุด
Trace nested loops
AS 9618 · Trace table
Read the question below and attempt it before opening support. Enter the requested values in order; spaces, commas or line breaks are accepted. The check assesses these structured values, not a written explanation.
Total starts at 0. For Row from 1 to 2, for Col from 1 to 3, perform Total ← Total + Row + Col. Give Row, Col, Total after each inner iteration, one triple per line.