1. Initialize a counter variable to 0.
2. Create a loop that iterates 10 times.
3. Within the loop, read an integer from the keyboard and store it in a variable.
4. Check if the integer is greater than 50.
5. If the integer is greater than 50, increment the counter variable by 1.
6. Repeat steps 3-5 for each iteration of the loop.
7. Display the value of the counter variable.
how to write algorithm read 10 integer from the key board in the range 0 up to 100 and count how many them are larger than 50 and display this result
1 answer