Question d’entretien chez Tipalti

How can you prevent endless loop

Réponse à la question d'entretien

Utilisateur anonyme

30 mars 2022

Ensure you have at least one statement within the loop that changes the value of the comparison variable. (That is, the variable you use in the loop's comparison statement.) ... Never leave the terminating condition to be dependent on the user.