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;

22nd Jul 2016, 10:47 AM
FranklinCO2
FranklinCO2 - avatar
1 Resposta
0
13,36
23rd Jul 2016, 3:55 PM
Dilip Belgumpi
Dilip Belgumpi - avatar