I'm having trouble figuring this out
this is assignment

Write a program using a while-loop (and a for-loop) that asks the user to enter a string, and then asks the user to enter a character. The...