Trace nested loops
Esta página necesita un navegador reciente (con soporte para SharedArrayBuffer). Por favor, actualiza Chrome, Edge, Firefox o Safari a la última versión.
Trace nested loops
IGCSE 0478 · 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.