Question: What is the approximate value of r after the code is executed pesky ( n ) : r 0 for i 1 t o n
What is the approximate value of r after the code is executed
pesky ( n ) :
r 0
for i 1 t o n do :

for j 1 t o i do :
for k j t o ( i + j ) do :
r r + 1
cout
What is the approximate value of r after the code is executed pesky (n): ro for ilton do: for j-ltoi do : for k=jto(i+j) do :| rr+1 cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
