Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Refactoring Databases Evolutionary Database Design

Authors: Scott Ambler, Pramod Sadalage

1st Edition

0321774515, 978-0321774514

More Books

Students also viewed these Databases questions

Question

7. Set team as well as individual performance goals.

Answered: 1 week ago