Write a program that asks for the number of units sold

Assignment Help Computer Engineering
Reference no: EM131184448

1) A software company sells a package that retails for $99. Quantity discounts are given according to the following table:

Quantity Discount

10-19 20%

20-49 30%

50-99 40%

100 or more 50%

Write a program that asks for the number of units sold and computes the total cost of the purchase.

Input Validation: Make sure the number of units is greater than 0.

2) A bank charges $10 per month plus the following check fees for a commercial checking account:

$.10 each for fewer than 20 checks

$.08 each for 20-39 checks

$.06 each for 40-59 checks

$.04 each for 60 or more checks

Write a program that asks for the number of checks written durign the past month, then computes an displays the bank's fees for the month.

Reference no: EM131184448

Questions Cloud

Compare forecasts using a three period moving average : Compare forecasts using a three-period moving average,  exponential smoothing with a  0.2, and linear regression. Using MADand MSE, which forecasting model is best?
Analyze the emerging security threats presented : Analyze the emerging security threats presented within the "Security Threat Report 2014" report. Analyze the major threats to mobile devices, and suggest at least two methods to mitigate the concerns.
What are some of the key tenets of existential psychology : What are some of the key tenets of existential psychology? The significant of Carl Rodger's contribution to the field of psychology. What is client-centered therapy
Analyze five google technologies that are under research : Analyze five Google technologies that are current under research and development, including the self-driving automobile and four other technologies of your choice.
Write a program that asks for the number of units sold : Write a program that asks for the number of units sold and computes the total cost of the purchase. Write a program that asks for the number of checks written durign the past month, then computes an displays the bank's fees for the month.
Create a shared mental model between different technologists : It helps to create a shared mental model between these different technologists, yet each will have their own perspective on what is important to have documented on the diagram.
Configure and test a dns server : You are required to configure and test a DNS server. Configure a DNS server with both forward and reverse lookup.
Calculate the maximum surface charge density : If one line is positively charged and one is negatively charged, calculate the maximum surface charge density allowable on the conductors
Describe four methods of learning and listening : Describe four methods of learning and listening. How does a person learn (auditory, visual, etc.) if he or she has a preferred method? How can the person adjust to learning in ways not in his or her preferred method

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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