Approximate number of customers

Assignment Help Basic Computer Science
Reference no: EM131192196

Question 1: Design a program that will ask the user to enter the amount of a purchase. The program should then compute the state sales tax and the county sales tax. Assume the state sales tax is 4 percent of the purchase amount, the county sales tax is 2 percent of the purchase amount. The program should display the amount of the purchase, the state sales tax, the county sales tax, the total sales tax, and the total of the sale (which is the sum of the amount of purchase plus the total sales tax)

Hint: Use 0.04 for 4 percent, 0.02 for 2 percent in the calculation.

Question 2: A soft drink company recently surveyed 12467 of its customers and found that approximately 14 percent of those surveyed purchase one or more energy drink per week. Of those customer who purchase energy drinks, approximately 64 percent of them prefer citrus-flavored energy drinks. Write a program that displays the following:

  • the approximate number of customers who purchase one or more energy drinks per week
  • the approximate number of customers who prefer citrus-flavor energy drinks

Reference no: EM131192196

Questions Cloud

Explains the various loan options : Write a "script" to be used in response to this enquiry that clearly explains the various loan options available and the benefits and disadvantages of each one
What will be the total cost of the music group : Suppose 500 people attend the party. What will be the total cost of the music group? -- The unit cost per person?
Standardization of health information : Ad Hoc Versus Standard Representations and Formal Versus Informal StandardsChange is a constant in the field of health care, and this continual evolution necessitates various means of classifying and representing the vast amount of health informat..
Data structure and perform any necessary computations : Assume you are given a file containing a trillion records. While inbuilt data structures in Python (e.g., lists, dictionaries) are efficient, why is it a bad idea to load a trillion records into a data structure and perform any necessary computati..
Approximate number of customers : A soft drink company recently surveyed 12467 of its customers and found that approximately 14 percent of those surveyed purchase one or more energy drink per week. Of those customer who purchase energy drinks, approximately 64 percent of them pref..
Determining the president of united states : Who is the president of united states? and how old is the president? does she have a daughter?
Find expressions for national saving per worker : Find expressions for national saving per worker and the steady-state level of investment per worker as functions of the capital-labor ratio, k.
Modern switched ethernet networks : In modern switched Ethernet networks, it is not unusual for a router to receive more traffic than it is able to forward due to the relative speeds of the Ethernet network versus the links from the router to other networks or the Internet.
Features of word : What are some features of Word that you find difficult to use, hard to locate, etc.?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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