|
Validation
Now I am very stuck as well, my book is very basic, & does not cover validation, so in my previous excercise about calculating the student marks, if someone enters any invalid data, say instead of entering 89 as a mark, they enter a letter, or an invalid name, etc. How to I put validation into my program? If someone could please show me how, that would be great, since right now it is expected that the user will enter correct values (which I know is not good since I have worked in Software QA)
Thanks.
|