I made a small program but I don’t know why the operators are taking the program into an apparent infinite loop. Even when output comes, it is after a long delay. What is taking so much time? It is hardly 2 or 3 iterations.
Here’s my code:
I made a small program but I don’t know why the operators are taking the program into an apparent infinite loop. Even when output comes, it is after a long delay. What is taking so much time? It is hardly 2 or 3 iterations.
Here’s my code: