Total sales for the year and the monthly average

Assignment Help Basic Computer Science
Reference no: EM132200922

Show in python, prompt the user to enter sales figures for each month of the year. Use a loop to prompt and store the results in an array. Once all 12 months data is entered then loop through the array and calculated the total sales for the year and the monthly average for the year.

Reference no: EM132200922

Questions Cloud

How can you make a topic more interesting : How can you make a topic more interesting when the audience sees no value in it?
Possible for an informative speech : Is it possible for an informative speech to be purely informative without being boring? What are some ways you can make your speech more engaging?
Creates an array of hundred double values : Creates an array of 100 double values. Using a loop, assigns a random value, between 0.0 and 1.0, to each element of the array.
Why is computer literacy important : Why is computer literacy important? How does this notion relate to the idea of a digital divide
Total sales for the year and the monthly average : Once all 12 months data is entered then loop through the array and calculated the total sales for the year and the monthly average for the year.
Write a java program that asks the users to enter matrix : Write a Java program that asks the users to enter a m × n matrix of integers, m and n being the number of rows and columns, respectively.
What are some details you should consider : When planning a presentation, what are some details you should consider? Give examples.
Write a java program to compute all prime numbers : Write a java program to compute all prime numbers less than equal to a given integer N.
List of properties and has to calculate the tax : Property on the list. You have been asked to design a program that the clerk can use to perform these calculations. In your interview with the tax clerk

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Microwavable food company to maximize profits

Suggest one (1) pricing policy that will enable your low-calorie, frozen microwavable food company to maximize profits. Provide a rationale for your suggestion.

  Instantaneous rate of change

If the instantaneous rate of change of g(x) at (-1, -2) is ½, write the equation of the line tangent to the graph of g(x) at x = -1.

  Convert the max heap implementation to a min heap

Convert the max heap implementation to a min heap implementation.

  Find the thermal efficiency of the cycle

Determine the thermal efficiency of the cycle, and plot it against extraction pressures of 12.5, 10, 7, 5, 2, 1, 0.5, 0.1, and 0.05 MPa, and discuss the results.

  Find the acceleration of point b on the pulley

At the instant pictured in Figure P4.12, the load L has an upward acceleration of 5 m/s2 , and point A of the hoisting cable has an upward velocity of 2.1 m/s (not necessarily constant). Point O is the center of the pulley shaft mounted on the hoo..

  Formulate this problem as a minimum cost flow problem

Formulate this problem as a minimum cost flow problem involving a copy of the given graph for each time period.

  What is the value of entry a

What is the value of entry A? (Please show all work). What is the value of entry B? (Please show all work)

  Describe role of control unit and arithmetic and logic unit

Describe the role of the control unit and the arithmetic and logic unit. -  What is solid state storage technology? What advantages does it offer?

  Explain how decision problem is decidable

Think of the way to mark all variables A such that for some string x ∈ Σ*, A (⇒*(over)G) x. Describe algorithm in detail.

  Debtors an unlimited exemption on homes

Some states permit debtors an unlimited exemption on their homes. Is it fair for bankrupts to be allowed to keep multi-million dollar homes, while their creditors remain unpaid? But other states allow as little as $5,000. Should bankrupts be throw..

  Margin of a digital logic gate

How to improve the noise margin of a digital logic gate implemented in CMOS? When does it make sense to use structural Verilog instead of behavioral Verilog?

  Brand name and private label tires

American Tire and Rubber Company sells identical radial tires under the firm's own brand name and private label tires to discount stores.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd