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.
Input Validation: Do not accept a negative value for the number of check written.
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more