Need a help

If condition of given
0<N<10
If N is 11 than it will ask for N again or
Don’t do execution or
We take first 10 values

1 Like

Can you please elaborate it more ?

if this is given in constraint then the value of N provided by online judge will always be greater than 0 and less than 10.

3 Likes

One you have to exit the program or you have to ask for the input again till user gets it right.
Welcome.