Given a string variable s that has already been declared, write some code that repeatedly reads a value from standard input into s until at last a "Y" or "y"or "N" or "n" has been entered.
i tried a bunch of things but i just cant get it to work if anyone could help i would appreciate it.thanks