how to drow 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 theresult

1 answer

Here is a flowchart for the given problem:

[Start] --> Input "num" --> Set "count" to 0 --> Set "i" to 1

Loop condition: i <= num

|--> Input "n"

|--> If n > 50

| |--> Set "count" to count + 1

|--> End If

|--> Set "i" to i + 1

End Loop

Display "The number of integers larger than 50 is", count

[End]