Title Number of even and odd elements
Catalog Type SLCItem
Persistent ID https://codecheck.io/files/horstmann/codecheck-bj-4-array-109
Platform Name CodeCheck
Features Code Completion
Description Count the number of even and odd elements in an array of integers. Since you must return two counts, place them into an array of length 2. For example, if you are given the array
Keywords Arrays and Array Lists
Author Cay Horstmann
Institution San José State University
Iframe URL https://codecheck.io/files/horstmann/codecheck-bj-4-array-109
Protocol SPLICE, LTI 1.1
Protocol URL
License https://creativecommons.org/licenses/by-nc-nd/4.0/
Programming Language Java
Natural Language en

Preview

SPLICE Output