Question: Write a program which asks the user to input the size of a list. Then ask the user to input an integer for each element

 Write a program which asks the user to input the size

Write a program which asks the user to input the size of a list. Then ask the user to input an integer for each element of the list, and output the arithmetic mean of the list (truncated if it is a decimal). Recall: the arithmetic mean of a set of numbers is the sum of all the numbers divided by the number of numbers. How large a list do you want? 3 Enter in element 0 Enter in element 1: Enter in element 2 2 7 The arithmetic mean of these numbers is 3

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!