Asked by yehenew
how to drow flow charts of 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. Initialize counter variable (count) to 0
3. Initialize index variable (i) to 1
4. Loop 10 times while i <= 10
5. Display prompt to enter integer i
6. Read integer i from keyboard
7. If i is within the range of 0 to 100, continue to the next step. Otherwise, display an error message and prompt the user to enter i again.
8. If i > 50, increment count by 1
9. Increment i by 1
10. End loop
11. Display the count of integers that are greater than 50
12. End.
2. Initialize counter variable (count) to 0
3. Initialize index variable (i) to 1
4. Loop 10 times while i <= 10
5. Display prompt to enter integer i
6. Read integer i from keyboard
7. If i is within the range of 0 to 100, continue to the next step. Otherwise, display an error message and prompt the user to enter i again.
8. If i > 50, increment count by 1
9. Increment i by 1
10. End loop
11. Display the count of integers that are greater than 50
12. End.
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.