Source: https://www.pedagogie.ac-nice.fr/dsden06/lv06/wp-content/uploads/sites/2/2017/01/Programmation_C3-2.pdf