Trace nested loops
Trang này cần trình duyệt gần đây (hỗ trợ SharedArrayBuffer). Vui lòng cập nhật Chrome, Edge, Firefox hoặc Safari lên phiên bản mới nhất.
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.