Ask for a letter (whether lowercase or uppercase) then display a name that starts with the entered letter. If a number is entered, it must display a message that only letters (A- J, a-j) are allowed. The program will keep asking for a letter until 0 (zero) is pressed. Enter a letter (0 to end program): a Aubrey Enter a letter (0 to end program): 5 Please enter a valid letter (A-Z, a-z). Enter a letter (0 to end program): A Aubrey Enter a letter (0 to end program): 0 e.g. Bye
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here