What is the step count of the pseudocode below: for i=-n to n do s
Fantastic news! We've Found the answer you've been seeking!
Question:
What is the step count of the pseudocode below:
for i=-n to n do
s = s + i
if ( i % 2 == 0)
then p = p * (i-1)
else
p = p * (i-1)
s = 0
endif
p = p * i
endfor
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date: