(Solved) : 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 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 Show transcribed image text 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
Expert Answer
Answer to Write a program that asks the user to enter a string. If the user enters an empty string, your program should continue p…
OR