There is no comparison of input array length declared by user and true input array length, so in case of incorrect input like
the interpreter will fail with runtime error like
step 7, id 2, line 3: array arr: no index 2
which might cause user confuse.
There is no comparison of input array length declared by user and true input array length, so in case of incorrect input like
the interpreter will fail with runtime error like
which might cause user confuse.