Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started