Quote Originally Posted by Eri523 View Post

Actually, kudos to your teacher in case that this learning experience was just intended that way! Practice usually shows, unfortunately, that most teachers aren't so good. Of course that doesn't diminish in any way the kudos to you for solving the assignment the way you did!
No teacher was involved here, unless you want to give credit to 2kaud for being my teacher. He was the one that helped me with the "else" statement in main. But the important thing is that I was able to learn from it and hopefully be able to integrate that if needed in my next program. Thank you for your kind words.