Trace an accumulator
หน้านี้ต้องใช้เบราว์เซอร์ล่าสุด (รองรับ SharedArrayBuffer) กรุณาอัปเดต Chrome, Edge, Firefox หรือ Safari เป็นเวอร์ชันล่าสุด
Trace an accumulator
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.
For Total starting at 2, the loop visits I = 1, 2, 3 and performs Total ← Total + I * 2. Give I and Total AFTER each iteration, one pair per line.