Design a program that asks the user to enter a series of 20 numbers. The program should
Question:
Design a program that asks the user to enter a series of 20 numbers. The program should store the numbers in a list then display the following data:
• The lowest number in the list
• The highest number in the list
• The total of the numbers in the list
• The average of the numbers in the list
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 66% (3 reviews)
def getuserinput Gets a list of 20 numbers from the user numbers for i in range20 number intinputEnt...View the full answer
Answered By
Muhammad Umair
I have done job as Embedded System Engineer for just four months but after it i have decided to open my own lab and to work on projects that i can launch my own product in market. I work on different softwares like Proteus, Mikroc to program Embedded Systems. My basic work is on Embedded Systems. I have skills in Autocad, Proteus, C++, C programming and i love to share these skills to other to enhance my knowledge too.
3.50+
1+ Reviews
10+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer science questions
-
Design a program that asks the user to enter a series of 20 numbers. The program should store the numbers in an array and then display the following data: The lowest number in the array The highest...
-
Ivanhoe Company incurred research and development costs of $ 9 0 0 0 0 to develop a patent, and legal fees of $ 3 0 0 0 0 to register the patent. The patent has a legal life of 2 0 years and a useful...
-
The following are trial balance of Clarissa Amanda Sdn. Bhd. as at 31st December 2021. Debit RM Credit RM Opening stock, 1 Jan 2021 16,000 Purchases 75,000 Sales return 5,000 Carriage inwards 1,500...
-
Predicting Genetic disorders in Children based on their Medical information and History Hereditary diseases is becoming more of a problem as human population grows exponentially. Genetic testing...
-
The ABA is holding its annual convention next week and intends to play music in various conference rooms before the beginning of seminars. Have any copyright rights been violated? Discuss.
-
Suppose that data are transmitted in blocks of sizes 1000 bits. What is the maximum error rate under which error detection and re-transmission mechanism (1 parity bit per block) is better than using...
-
Hooke's law is obeyed up to the (a) Yield point (b) Ultimate point (c) Breaking point (d) Limit of proportionality
-
If the dispute is judged under the rule of reason, what might be ICANNs defense for having a standardized set of registry services that must be used? The Internet Corporation for Assigned Names and...
-
How would you describe yourself as a leader? What do you base your leadership approach upon? What approaches? Mentors? Practices? Traditions? (please include references in APA 7th edition format) Why...
-
What will the following code display? numbers = [1, 2, 3, 4, 5] print(numbers[2])
-
Draw a flowchart showing the general logic for totaling the values in a list.
-
Compute the amount of Doppler filter straddle loss for the filter defined by \[ H(f)=\frac{1}{1+a^{2} f^{2}} \] Assume half-power frequency \(f_{3 d B}=500 \mathrm{~Hz}\) and cross-over frequency...
-
Mower Ltd started in business on 1 April 2015. Its issued share capital was 400,000 ordinary shares of 1 each and 100,000 6 per cent preference shares of 1 each. The following information is...
-
The probability that less than 57 households have a gas stove. A discrete random variable is given. Assume the probability of the random variable will be approximated using the normal distribution....
-
The popularity of a websites dedicated to food and cooking depends on the number of people who visit them and consume the content they host. The file Chicken contains data on 40 chicken-based main...
-
You need to develop a model to predict the asking price of houses listed for sale in Silver Spring, Maryland, based on the living space of the house, the lot size, and the age, whether it has a...
-
= 63, = 5, n = 21 Determine x and x from the given parameters of the population and the sample size.
-
Consider the following entities. Identify the stakeholders in each of the entities. What types of decisions would each of these stakeholders want to make? (To answer this question you may have to do...
-
Danielle has an insurance policy with a premium of $75 per month. In September she is in an accident and receives a bill worth $2990 for the repair of her own property. Her deductible is $250 and her...
-
Why does a host or a router need to run the ARP program all of the time in the background?
-
In Figure 9.7, assume system B is not running the ARP program. What would happen? Figure 9.7 LAN System A System B N, L, N, L2 Request N3L3 N, L4 Request: Looking for link-layer address of a node...
-
Why does a router normally have more than one interface?
-
Relationship marketing, as defined by Cuofano (2023), revolves around businesses and their brands establishing lasting connections with customers. The primary objective of relationship marketing is...
-
The Executive Director (ED) of a North Philadelphia non-profit organization has been in place for the last 16 years. Many changes have occurred during this time. For example: more people come to work...
-
1. What ethical or legal responsibility does the government have to provide healthcare to the citizens of the United States of America? Has that in your opinion be fulfilled by the AffordableCare...
Study smarter with the SolutionInn App