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

1 answer

Here is a flowchart for the given problem:

```
start
└─> initialize count variable to 0
└─> set loop counter to 1
└─> while loop counter <= 10
└─> read integer from keyboard
└─> if integer is between 0 and 100
└─> if integer is greater than 50
└─> increment count variable by 1
│ └─> increment loop counter by 1
│ else
│ └─> display error message
│ endif
│ endwhile
└─> display count variable
done
```

In summary, the flowchart first initializes a count variable to 0 and sets a loop counter to 1. It then enters a loop that repeats 10 times, in which it reads an integer from the keyboard and checks if it is between 0 and 100. If it is, it checks if the integer is greater than 50 and increments the count variable accordingly. After the loop has finished, the flowchart displays the count variable. If an integer is outside the range of 0 to 100, the flowchart displays an error message and does not count it towards the total.