Ask Question
22 March, 10:21

Write a pseudocode that prompts the user to keep read numbers until 0 entered, and find how many of those numbers are odd and how many are even

+1
Answers (1)
  1. 22 March, 11:07
    0
    Start

    Read number n.

    When n = 0 go to End.

    Compute r = n / 2,

    If decimal part of r = 0 add 1 to Even-count

    else add 1 to odd-count

    endif

    Go to Start

    End

    Print Even count, Odd count

    Stop.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Write a pseudocode that prompts the user to keep read numbers until 0 entered, and find how many of those numbers are odd and how many are ...” in 📙 Mathematics if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers