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

  If this message is sent unencrypted and successfully receive

a. If this message is sent unencrypted and successfully received, what is its entropy? And why?

  Develop a database that will keep track of students

Suppose a local college has tasked you to develop a database that will keep track of students and the courses that they have taken. In addition to tracking the students and courses, the client wants the database to keep track of the instructors te..

  Manage project stakeholder engagement

Describe the levels of engagement in relation to manage project stakeholder engagement?

  Create three classes for the linked list

The input file will be in the following format: one word per line followed by either N or V in parenthesis: apple(N) peach(N) eat(V) .

  List the calls to merge sort and to merge

Trace the merge sort algorithm as it sorts the following array into ascending order. List the calls to merge Sort and to merge in the order in which they occur

  Why this program is behaving erroneously

A computer programmer wrote a program that adds two numbers. The programmer ran the program and observed that when 5 is added to 8, the result is the character m. Explain why this program is behaving erroneously.

  C program that prompts a user for two integers

Produce a C program that prompts a user for two integers (ints) and stores the two integers the user types into the console.

  Describe sing pseudocode an algorithm that takes

1. Describe sing pseudocode an algorithm that takes a list of n integers a1, a2, ..., an, and finds the sum of all positive integers in the list.

  Handling the exception tl

Consider the function fun g(l) = hd(l) : : tl(l) handle Hd => nil; that behaves like the identity function on lists. The result of evaluating g(nil) is nil. Explain why. What makes the function g return properly without handling the exception Tl?

  Find the linear velocity in inches per second

If the radius of the pulley is 5 inches, find the linear velocity in inches per second.

  Major change took place in telephone system

What major change took place in the telephone system after 1984, how did it impact customers, and how does it compare to the telephone networks in use today?

  Determining the incremental formulation

Consider the n-queens problem using the "efficient" incremental formulation given on page 72. Explain why the state space has at least the cube root(√n!) states and estimate the largest n for which exhaustive exploration is feasible.

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