+ 1
Please how can I validate my code ( like inputting scores) and also grading system in C++.
C++
2 Antworten
+ 1
You need to use conditionals to filter out impossible values.
For instance, if your scores can only be from 0 to 50,
if ((score>=0)&&(score<=50))
0
Thank you very much 😋