how to write flowchart read 10 integers from the keyboard in the range 0 to 100 and count how many of them are larger than 50 and display the result

1 answer

Start
Declare variable count and set it to 0
Declare an array with size 10
For index i = 0 to 9
Read integer from keyboard and store it in array[i]
If array[i] > 50 then
Increment count by 1
End if
End for
Display count
End