Question: Code in c++ please Q1: Software Sales A software company sells a package that retails for $99. Quantity discounts are given according to the following

Code in c++ please  Code in c++ please Q1: Software Sales A software company sells

Q1: Software Sales A software company sells a package that retails for $99. Quantity discounts are given according to the following table: QuantityDiscount 10-19 20-49 50-99 100 or more 20% 30% 40% 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. Q2: Book Club Points Community Booksellers has a book club that awards points to its customers based on the number of books purchased each month. The points are awarded as ollows -If a customer purchases O books, O points are earned. -If a customer purchases 1 book, S points are earned. -If a customer purchases 2 books, 15 points are earned. -If a customer purchases 3 books, 30 points are earned. -If a customer purchases 4 or more books, 60 points are earned. Write a program that asks the user to enter the number of books that he or she has purchased this month and then display the number of points awarded

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!