Question: Change the pseudocode of Exercise 35 to allow the user to include all floating point numbers (negative numbers as well). Data from in exercise 35
Change the pseudocode of Exercise 35 to allow the user to include all floating point numbers (negative numbers as well).
Data from in exercise 35
Write pseudocode that will average a list of numbers input by the user. Use
the following variables:
● Number As Integer
● Sum As Integer
● Average As Float
● Count As Integer
Also:
● Use a While loop to enter the numbers.
● Use a sentinel to test when the user wants to stop entering numbers.
● Assume the user enters valid data.
Step by Step Solution
3.32 Rating (158 Votes )
There are 3 Steps involved in it
Declare Number As Float Declare Sum As Float Declare Average As Float Declar... View full answer
Get step-by-step solutions from verified subject matter experts
