Answer:
The solution code is written in Python 3
- count = 0
- sum = 0
-
- num = input("Enter a number: ")
-
- while(num != ''):
- sum += float(num)
- count += 1
- num = input("Enter a number: ")
-
- print("Sum : " + str(sum))
- print("Average: " + str(sum / count))
Explanation:
Firstly, we declare two variables count and sum to hold the number of input number and the total of the input number, respectively (Line 1-2)
Next, we prompt user to input the first number (Line 4). While the num is not ' ' (This means it is not "Enter" key), accumulate the num to sum variable and increment count by one (Line 6-8) and then prompt the user to input the next number (Line 9).
At the end, display the sum and average using print function (Line 11 -12).
If more than 4 feet of track is needed at least one additional support must be installed for every extension of <u>4 </u> feet or less.
<h3>What is Feet in Electrical Installation system?</h3>
In the electrical installation system, the inside wall of a system e.g
- indoor spa or
- indoor pool
is usually grounded or GFCI protected (A ground fault circuit interrupter) for indoor convenience.
For a chosen electrical outlet, the maximum receptacle distance in a household must be at least 12 feet apart using floor line measurement.
From the given question:
- If more than 4 feet of track is needed at least one additional support must be installed for every extension of <u>4 </u> feet or less.
Learn more about electrical installation systems here:
brainly.com/question/24786034
What does Company ABC trying to figure out?
Pseudocode is a notation resembling a simplified programming language, used in program design
a text file is a computer file that only contains text and has no special formatting such as bold text, italic text, images, etc.