Find the number of times the statement block is executed! for (i=0; i<=n; i++) for (i=1; j<=i; j*=2) statement block; for (i=1; i<=n; i*=3) for (j=1; j<=n; j*=2) statement block;
Question : Find the number of times the statement block is executed! for (i=0; i<=n; i++) for (i=1; j<=i; j=2) statement block; for (i=1; i<=n; i=3) for (j=1; j<=n; j*=2) statement block;
Answer: image attached