[phpBB Debug] PHP Warning: in file [ROOT]/ext/lmdi/autolinks/event/listener.php on line 237: Undefined array key 4
[phpBB Debug] PHP Warning: in file [ROOT]/ext/lmdi/autolinks/event/listener.php on line 237: Trying to access array offset on value of type null
Answer Happy • Determine the output of the following set of commands A=[ 5 4 3 21 0 9 -5 3 21; for idx=1: length (A) if (A(idx) <2) A(i
Page 1 of 1

Determine the output of the following set of commands A=[ 5 4 3 21 0 9 -5 3 21; for idx=1: length (A) if (A(idx) <2) A(i

Posted: Sat Jul 09, 2022 11:48 am
by answerhappygod
Determine the output of the following set of commands
A=[ 5 4 3 21 0 9 -5 3 21;for idx=1: length (A)if (A(idx) <2)A(idx)=A(idx)*2;endenddisp(A)