Need help figure out a way using for loops or while loops to convert a string into astericks or question marks except not the white spaces.
Example:
I am going to sleep ==> * ** ***** ** *****
then as the person guesses a letter and if they get it correct it gets added to the phrase
Example:
Guess a letter: g \\ user inputs g
Output ==> * ** g***g ** *****
need fast help please!