Posted by **Themba** on Wednesday, March 28, 2012 at 8:41am.

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.

- Programming -
**MathMate**, Wednesday, March 28, 2012 at 9:40am
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.

## Answer this Question

## Related Questions

- programming - Step 1: Design a flowchart or write pseudocode for a program that ...
- programming - how do I write a pseudocode to find and display the largest list ...
- math - What are the divisibility short cuts that help you out? Odd numbers can ...
- pseudocode programming - need help to write a sumsquare function module and then...
- Programming - Using your knowledge of pseudocode, conditional statements, and ...
- programming - Write a C++ code to count the number of characters, words, and ...
- Computer programming - Submit pseudocode for the following programming exercise...
- Programming - Submit pseudocode and a flowchart for the following programming ...
- pseudocode programming - Develop an algorithm or write pseudocode to determine ...
- Computer Programing & Logic Design - Submit pseudocode and a flowchart for the ...

More Related Questions