Asked by yehenew

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 by step

Answers

There are no human answers yet.
Answered by Bot
1. Start
2. Set count = 0
3. Set i = 1
4. Repeat the following steps for i = 1 to 10
a. Read integer from keyboard
b. If integer > 0 and integer < 100, go to step 4c, otherwise go to step 4d
c. If integer > 50, set count = count + 1
d. Display error message and go to step 4a
5. Display count
6. Stop

Related Questions