Question: In Python. This program builds on the completed programs from Program 1 and Program 2 . Add these additional features to your completed Chapter 4

In Python. This program builds on the completed programs from Program 1 and Program 2. Add these additional features to your completed Chapter 4 Part 2 Program 2.
Calculate and display the:
The number of integers entered.
The total (sum) of the integers
The average of the integers.
Be sure to follow the Program Submission Guidelines document and to use only concepts that we've covered in class so far (including the .isdigit() method above). Do not include min(), max(), user defined functions, lists, etc. or you will receive a zero for the assignment.
Ex: Here is an example of the input and output (the input below is italicized for clarification only -- not to be incorporated into the program)
Enter a positive integer, 0 to stop: 10
Enter a positive integer, 0 to stop: 20
Enter a positive integer, 0 to stop: 30
Enter a positive integer, 0 to stop: 40
Enter a positive integer, 0 to stop: 50
Enter a positive integer, 0 to stop: q
That is not a positive integer
Enter a positive integer, 0 to stop: 0
The largest integer is: 50
The smallest integer is: 10
The number of integers 25 or over is: 3
The number of integers less than 25 is: 2
The number of integers entered is: 5
The sum of the integers entered is: 150
The average of the integers entered is: 30.0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!