Question:
I want that only certain numbers can be used as input for thescan()
function. Otherwise the input should be repeated until it is valid.For example, the numbers 1:4 as first input and the numbers 1:8 as second input.
How can I achieve this?
If you have better answer, please add a comment about this, thank you!