Given a char variable c that has already been declared , write some code that repeatedly reads a value from standard input into c until at last a ‘Y’ or ‘y’ or ‘N’ or ‘n’ has been entered.

LANGUAGE: C++

CHALLENGE:

Given a char variable c that has already been declared , write some code that repeatedly reads a value from standard input into c until at last a ‘Y’ or ‘y’ or ‘N’ or ‘n’ has been entered.

SOLUTION:

The Bad News: The content you are trying to access is only available to members.

The Good News: You too can be a member, simply Click Here.

Already a member?

Posted in ,