-
Consider the following pseudo code. What is the total number of multiplications to be performed ?
D = 2
for i = 1 to n do
for j = i to n do
for k = j + 1 to n do
D = D*3
-
- Half of the product of the 3 consecutive integers.
- One-third of the product of the 3 consecutive integers.
- One-sixth of the product of the 3 consecutive integers.
- None of the above.
- Half of the product of the 3 consecutive integers.
Correct Option: C
One-sixth of the product of the 3 consecutive integers.