Question:

x 30 for i n 2 to n x 5 next i The number of operations

Last updated: 11/12/2023

x 30 for i n 2 to n x 5 next i The number of operations

x 30 for i n 2 to n x 5 next i The number of operations performed by this algorithm depends on whether n is even or odd Case 1 n is even There are oop is Case 2 n is odd There are oop is operations performed in each run of the loop and the loop runs operations performed in each run of the loop and the loop runs times so the total number of operations performed in times so the total number of operations performed in