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 theresult

1 answer

Start
- Set counter for integers larger than 50 to 0
- Set an array of size 10 to store the integers
- Start a loop to read 10 integers from the keyboard
- Read an integer from the keyboard
- Check if the integer is within the range of 0 to 100
- If yes, store the integer in the array
- If no, display an error message and prompt to input another integer
- End the loop
- Start a loop to check how many integers in the array are greater than 50
- Check if the current integer in the array is greater than 50
- If yes, increment the counter for integers greater than 50
- Move to the next integer in the array
- End the loop
- Display the number of integers in the array that are larger than 50
End.