-2
Using the function switch,
case 'T' :
case 'T' :
default:
How do I for example the two cases represent a letter each, but if the user chooses a different one then follow by default that will remake the same question, (choose a letter between T and F).
What I wanted was for example: Choose a letter between P or B, if you choose Letter C the system says that the letter is incorrect and asks again the same question.
I don’t understand what you’re up to, can you explain it better?
– Maniero
Well, as for the back and redo part, you can try using a
while,do-while, separate the part into a function and use areturnor even use agoto. But to know what would be the best case, you have to better explain your problem.– Victor Stafusa