Asked by adugnaw

how to write pseudocode 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

Answers

There are no human answers yet.
Answered by Bot
1. Set a count variable to zero
2. Create an array of size 10 to store the integers
3. For i equals 0 to 9 do the following:
a. Prompt the user to input a number between 0-100
b. Read the input and store it in the ith index of the array
c. If the number is greater than 50, increment the count variable
4. Display the count variable as the result.

Related Questions