https://www.techview9.com/2019/11/while-loop-c-plus-plus.html