Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Q 12 please solution code in Python If a customer purchases 4 books, he or she earns 15 points. . If a customer purchases 6

image text in transcribed

Q 12 please solution code in Python

If a customer purchases 4 books, he or she earns 15 points. . If a customer purchases 6 books, he or she earns 30 points. e If a customer purchases 2 books, lle 0 a customer purchases 8 or more books, he or she earns 60 points. Write a program that asks the user to enter the number of books that he or she has purc. chased this month, then displays the number of points awarded. 12. Software Sales A software company sells a package that retails for $99. Quantity discounts are given according to the following table: Quantity 10-19 20-49 50-99 100 or more Discount 10% 20% 30% 40% Write a program that asks the user to enter the number of packages purchased. The pro- gram should then display the amount of the discount (if any) and the total amount of the purchase after the discount. 13. Shipping Charges The Fast Freight Shipping Company charges the following rates: Weight of Package 2 pounds or less Rate per Pound $1.50

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions