0
output M Q ?
variables Q, M, J integer; Q ← 0; M ← 0; for J from 1 to 4 step 1 do M ← M + J; Q ← Q + M + J; endfor; output M, Q; endprocedure;
1 Resposta
0
13,36
variables Q, M, J integer; Q ← 0; M ← 0; for J from 1 to 4 step 1 do M ← M + J; Q ← Q + M + J; endfor; output M, Q; endprocedure;