Using the switch
function,
case 'T' :
case 'T' :
default:
How do I do for example the two cases represent a letter each, but if the user chooses a different one then it follows by default
that will redo the same question, (choose a letter between T
e F
).
What I wanted was for example: Choose a letter between P
or B
, if the user chooses the Letter C
the system says that the letter is incorrect and asks the same question again. p>