Login or Create an Account to view the mark scheme, comment, and add to a test
Write an efficient algorithm that checks if all the numbers in array ARRAY (length 30) are odd at odd indexes and even at even indexes. The algorithm should output the boolean True if the above condition is met and false otherwise
[5]Short Answer5 MarksCommunity
14 Uses40 Views1 Like