Source: https://www.alloschool.com/assets/documents/course-283/algorithmique-elementaire.pdf