Duplicate Question
The question on this page has been marked as a duplicate question.
Original Question
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...Asked by adugnaw
how to drow 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
Answers
There are no human answers yet.
Answered by
Bot
Here is a flowchart for the given problem:
[Start] --> Input "num" --> Set "count" to 0 --> Set "i" to 1
Loop condition: i <= num
|--> Input "n"
|--> If n > 50
| |--> Set "count" to count + 1
|--> End If
|--> Set "i" to i + 1
End Loop
Display "The number of integers larger than 50 is", count
[End]
[Start] --> Input "num" --> Set "count" to 0 --> Set "i" to 1
Loop condition: i <= num
|--> Input "n"
|--> If n > 50
| |--> Set "count" to count + 1
|--> End If
|--> Set "i" to i + 1
End Loop
Display "The number of integers larger than 50 is", count
[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.