Write a pseudocode for the following scenario.

You are to continue inputting numbers which may be either positive or negetive from a keyboard until a number of zero is entered. Count the number of positive numbers entered. This sum must be printed out at the end of the program.

1 answer

You can proceed with something simple like this, add more details as required:

Pseudocode CountPositive
integer totalPos, number
Begin loop
input number
if number>0 then totalPos <- totalPos + 1
loop while number <> 0
print totalPos

Add what you need to satisfy all requirements.
Similar Questions
    1. answers icon 0 answers
    1. answers icon 1 answer
    1. answers icon 1 answer
  1. Pseudocode:Write a pseudocode to describe how to calculate the average of 10 numbers. Thank you.
    1. answers icon 3 answers
more similar questions