Hi, i’m just beginner (both in programming and on this site) and i was wondering what i need to do if problem/challenge requires specific input.
Take for example PRIME1 problem:
t must be equal or less than 10
Do i need to create a “loop” to force correct t number or if t is wrong number then program sets t value to default one (for example t=1) by “if/else”.
Do i need to take into account that input could be empty, or not be a number etc?
Thanks in advance for all replies.