...

/

Exercise 2: Fix the Code

Exercise 2: Fix the Code

Learn how to debug the code.

Problem statement

The code given in this exercise will not terminate. You have to fix the code to get the desired output.

📍 Use your knowledge from the previous lessons to debug the code.

Function description

The ...