1 votes 1 votes closed as a duplicate of: GATE CSE 2014 Set 1 | Question: 42 D = 2 for i = 1 to n do for j = i to n do for k = j + 1 to n do D = D * 3 What are the number of multiplications in this code shipra tressa asked Jun 23, 2018 • closed Jun 23, 2018 by srestha shipra tressa 292 views comment Share Follow See 1 comment See all 1 1 comment reply Prince Sindhiya commented Jun 23, 2018 reply Follow Share Answer is n(n+1)(n-1)/6 0 votes 0 votes Please log in or register to add a comment.