Pseudocode
Compiler
·
by Sherlemious
Docs
Learn
Practice
Exam
Flowchart
Pricing
Ctrl K
Totaller/counter over the array
Level 7: Arrays. One pass, two patterns: add every slot, count the ones that match a condition.
Other lessons in level 7
DECLARE ARRAY[1:n]
Fill every slot with FOR
Count how many match
Linear search + Found flag
Max / min / average
2D arrays [row, col]
Sum each row of a 2D array
Boss: Medium 1D then Easy 2D
Previous:
Fill every slot with FOR
Next:
Count how many match
IGCSE & O Level Paper 2 Path