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 Answer
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;