Design an algorithm that prompts the user to enter a positive nonzero number and validates the input.
Design an algorithm that prompts the user to enter "yes or "no" and validates the input.
Design an algorithm that prompts the user to enter a secret word. The secret word should be at least 8 characters long. Validate the input.