โ Back to Arrays
Question 234
Count Elements Greater Than Ten
Count Elements Greater Than Ten
An int array is given. Count how many of its elements are greater than 10, and print the count.
For the array {5, 12, 8, 20, 3} the program prints:
2Expected Output:
2
Topics:
Arrays
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (sysout, psvm, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.