Programming
posted by Themba .
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.

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.
Respond to this Question
Similar Questions

finding numbers
The sum of two positive numbers is 20. Find the numbers if the sum of their squares is as large as possible; as small as possible. What does it mean? 
programming
for a list of numbers entered by the user and terminated by 0, find the sum of the positive numbers and the negative numbers 
Computer Programing & Logic Design
Submit pseudocode and a flowchart for the following programming exercise: Largest and Smallest Design a program with a loop that lets the user enter a series of numbers. Theuser should enter 99 to signal the end of the series. After … 
Computer Programing & Logic Design
Submit pseudocode and a flowchart for the following programming exercise: Largest and Smallest Design a program with a loop that lets the user enter a series of numbers. Theuser should enter 99 to signal the end of the series. After … 
MATH
WRITE A SIMPLE BUT A COMPLETE FORTRAN PROGRAM TO COMPUTE THE AVERAGE OF SIX NUMBERS AND DISPLAY THE NUMBERS, SUM AND AVVERAGE. THE PROGRAM SHOULD TERMINATE WHEN ZERO IS ENTERED AS A NUMBER. THE PROGRAM SHOULD BE EDUCATIVE 
programming
how do I write a pseudocode to find and display the largest list of positive numbers entered by the user. The user should indicate that he/she has finished entering numbers by enter a 
computer science programming
Elements – sequenceseries outputting Write a program that prints the following elements: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, (hereto referred to as elements) etc., up till a userentered value. The program should not print more than … 
program design
Create the logic for a program that continuously prompts a user for a numeric value until the user enters 0. The application passes the value in turn to a method that computes the sum of all the whole numbers from 1 up to and including … 
programming
Step 1: Design a flowchart or write pseudocode for a program that allows a user to enter 12 numbers, then displays all of the numbers (in the order they were entered) as well as the largest number and the smallest number. Step 2: Implement … 
computer programming
Design the logic for a program that allows a user to enter any amount of numbers up to 10 or until a sentinal value of 1 is entered. Then the program displays the count of the numbers entered and numeric average of the numbers (not …