Source: https://moodle.insa-lyon.fr/pluginfile.php/132754/course/section/42584/scanf.pdf?time=1613983865979