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

  Explain how to configure a switch and router in a 350- to

bull describe how to configure a switch and router in a 350- to 750-word paper in apa format. be sure to include the

  Network administration architecture process improvement

Network Administration Architecture Process Improvement

  Identify the legal issues and apply legal concepts

Read the scenario and the questions that follow. Identify the legal issue(s) and apply legal concepts and possible arguments for each question. Prepare a solution for each question using laws, cases, examples, and/or other relevant materials. Identif..

  Write a tutorial which consists of detailed instructions

Write a tutorial which consists of detailed instructions on the use of an IP related topic (e.g., IP addressing scheme, IP routing protocols, various IP technologies, and many more) that you think important or interesting.

  Compare and contrast defensive technologies

Compare and contrast defensive technologies

  Find the first 20 elements of the sequence

Find the first 20 elements of the sequence that obeys the same recursion relation as that of the Fibonacci numbers,

  Examine the pseudocode sample provided

Examine the pseudocode sample provided, and explain what it does line by line.

  The payroll manager for your employer

You are the Payroll Manager for your employer. Your payroll clerk has submitted the worksheet displayed here. All employees earn their regular pay rate times the hours worked plus an overtime bonus of 50% of the hours worked in excess of 40 hou..

  Which ease of learning conflicted with ease of use

Consider at least two (2) software products that you use or have used in the past. Provide at least two (2) examples in which ease of learning conflicted with ease of use. Propose a solution to the conflicts that you have indicated. Justify your resp..

  Explain the hard drive ram rom and cmos

Explain the Hard drive, RAM (random access memory), ROM (read-only memory), CMOS (complementary metal-oxide semiconductor), Video card, Network card and Processor (CPU).

  Why is it important to educate users about risks

what is a primary security risk that users should acknowledge when using macros? Why is it important to educate users of these risks once their dilemma is resolved?

  Organizational structures can help a company

Question: Organizational structures can help a company fail or succeed. Why do you think that is the case?

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