Write Program Asks User Enter String User Enters Empty String Program Continue Prompting U Q37288792

Write a program that asks the user to enter a string. If the user enters an empty string, your program should continue prompt

Write a program that asks the user to enter a string. If the user enters an empty string, your program should continue prompting the user for a new string until they enter a non-empty string. Your program should then print out the string entered Bnter a non-empty string: That was empty. Try again. Enter a non-empty string: That was empty. Try again Enter a non-empty string: Mihi cura futuri You entered: MÄ°hi cura futuri

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.