Concept Flow - Select/filter for filtering
Start with array
Check each element
Condition true?
No→Skip element
Yes
Add element to new array
More elements?
Yes→Check next element
No
Return filtered array
The program checks each item in the array, keeps only those that meet the condition, and returns a new array with them.