How many times is the print statement executed for the following program segment? (Here, i, j, k,

Question:

How many times is the print statement executed for the following program segment? (Here, i, j, k, and m are integer variables.)
for i : = 1 to 20 do
for j : = 1 to i do
for k : = 1 to j do
for m : = 1 to k do
print (i * j) + (k * m)
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: