how to save programswhen you create a project, choose c++ empty file then name it with .cpp at the end
If while loop won't end use && rather than ||