error control

  1. RedTurbo

    Question How to control what the user enters and give an error if needed?

    Hello, I am making a C# console application which calculates BTEC grades to UCAS points. Only thing is, this course has 18 units, so I want the user to enter either 'p', 'm' or 'd' and maybe some other inputs if I choose to later. So when the user enters something wrong like 'wefttryh239y' then...
Top Bottom