1. Implement a loop that prompts a user to enter a number between 1 and 10, giving three tries to get it right
2. Sometimes students write programs with instructions such as "Enter data, 0 to quit" and that exit the data entry loop when the user enters the number 0. Explain why that is usually a poor idea.