Question: please help with this pauedocode fragment, count: =0 for i = 1 to 3 for j = 1 to 4 count = count + i
please help with this pauedocode fragment,
count: =0
for i = 1 to 3
for j = 1 to 4
count = count + i * j
end-for
end for
1) how many times will the loop execute?
2) what will the final value of the count be at the end of the loop?
ive neen working on this for awhile. i wanted to double check my answer with somone else before i submit it. thanks
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
