Imani G.

asked • 01/25/24

Cs 1030 pseudocode question

Write an algorithm in Computer Science pseudocode that reads a 0-terminated sequence of numbers from the user, one at a time. The final 0 entry should not be considered as part of the sequence (i.e., do not gather stats on it). Gather and display these four statistics on the sequence of numbers entered:

count of numbers entered count of numbers entered that are positive sum of numbers entered average value of the numbers entered

Write your adaptation using the CS 1810 pseudocode and use blank spaces to indent instructions, as needed.

The algorithm should have meaningful variable names and messages to the user. You may assume that all inputs from the user are numbers, that a 0 will eventually be entered, and that the sequence contains at least two numbers.



1 Expert Answer

By:

Jerrell G. answered • 01/27/24

Tutor
4.8 (36)

Professional Tutor Specializing in Information Technology

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.