Question

A company offers customer discount based on the following rules: Club member: • Total sales <...

A company offers customer discount based on the following rules:

Club member:

• Total sales < 200 : 5% discount

• Total sales >=200: 7% discount.

Non member:

• Total sales <= 500: no discount

• Total sales > 500: 5% discount

Complete the following program to compute and show the discount and net pay.

member=input(‘Are you a member?(y/n))

amount= float(input('Enter total sales:'))

Thanks!

0 0
Add a comment Improve this question Transcribed image text
Request Professional Answer

Request Answer!

We need at least 10 more requests to produce the answer.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the answer will be notified once they are available.
Know the answer?
Add Answer to:
A company offers customer discount based on the following rules: Club member: • Total sales <...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
  • Write a Java program to read customer details from an input text file corresponding to problem...

    Write a Java program to read customer details from an input text file corresponding to problem under PA07/Q1, Movie Ticketing System The input text file i.e. customers.txt has customer details in the following format: A sample data line is provided below. “John Doe”, 1234, “Movie 1”, 12.99, 1.99, 2.15, 13.99 Customer Name Member ID Movie Name Ticket Cost Total Discount Sales Tax Net Movie Ticket Cost Note: if a customer is non-member, then the corresponding memberID field is empty in...

  • An Internet service provider offers four subscription packages to its customers, plus a discount for nonprofit...

    An Internet service provider offers four subscription packages to its customers, plus a discount for nonprofit organizations: Package A: 10 hours of access for $12.95 per month. Additional hours are $4.00 per hour. Package B: 20 hours of access for $14.95 per month. Additional hours are $2.00 per hour. Package C: 30 hours of access for $20 per month. Additional hours are $1.00 per hour. Package D: Unlimited access for $35.95 per month. A nonprofit organizations will get 20% discount...

  • ) Al Shams supermarket is a largest shopping center in Oman for electronic items and home...

    ) Al Shams supermarket is a largest shopping center in Oman for electronic items and home appliance. They want to create invoice for their customer after they supplying the goods. Write a Python program to ask the user to input the purchase amount, customer type ('O': Online or 'F': Offline) for 10 customers and store them in two different lists. The sample input data is shown below. [15 Marks) Purchase Amount=(100, 75, 110,300,150, 400, 200, 100, 140, 100] Customer Type...

  • Calculate the total amount each customer must pay based on the following invoice terms and payment...

    Calculate the total amount each customer must pay based on the following invoice terms and payment dates.                                            Invoice Date. Invoice Amount Credit terms.        January 1.      $74,500.               2/10,net 30 March. 15.      $8,750.                 1/15,net 30 July 1.             $52,000.                12 percent APR Payment Date January 10 April 2 December 31 the total amount each customer must pay ceramente Date A d Terme 210, met nero AM 152.000 model to preparan ng sch Calculate toals and Total wed

  • Write a C++ program that will calculate the total amount of money for book sales at...

    Write a C++ program that will calculate the total amount of money for book sales at an online store. For each sale, your program should ask the number of books sold and then the price for each book and the shipping method (‘S’ for standard shipping and ‘E’ for expedited shipping). The program will produce a bill showing the subtotal, the sales tax, the discount, the shipping charge, and the final total for the sale. The program will continue processing...

  • Tardis offers a 3% discount to customers who pay cash at the time of sale and...

    Tardis offers a 3% discount to customers who pay cash at the time of sale and a 2% discount to customers who pay within the first 10 days of the month after sale. Past experience shows that cash collections from customers tend to occur in the following pattern: Cash collected at time of sale 55% Collected within cash discount period in first 10 days of month after sale 15% Collected after cash discount period in first month after month of...

  • To increase sales, Monty Inc., a public company following IFRS, implemented a customer loyalty program that...

    To increase sales, Monty Inc., a public company following IFRS, implemented a customer loyalty program that rewards a customer with one loyalty point for every $30 of merchandise purchased. Each point is redeemable for a $2 discount on any purchases of Monty merchandise in the next three years. After the program launched, during 2020, customers bought merchandise for $330,000 (all products are sold to provide a 40% gross profit) and earned 11,000 points redeemable for future purchases. The stand-alone selling...

  • For the next few weeks CJM Ad Agency is offering a 20% trade discount when providing...

    For the next few weeks CJM Ad Agency is offering a 20% trade discount when providing advertising services of $50,000 or more to its customers to encourage customers to buy more advertising. The Agency also offers 2/15, n30 on all credit sales. All credit sales are invoiced at the end of the month. The Agency provided the following services this month; amounts are shown before trade discounts have been deducted: • • Designs a $30,000 ad campaign for Customer A-...

  • Code in c++ please Q1: Software Sales A software company sells a package that retails for...

    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 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...

  • Sales and cost data for Van Buren Company. The total sales and cost information is based...

    Sales and cost data for Van Buren Company. The total sales and cost information is based on the sale of 20,000 units. Total Per Unit Sales $570,000  $28.50 Variable costs 387,600 19.38 Fixed costs 140,000 Compute the total contribution margin, contribution margin ratio, and unit contribution margin for this company. Also, compute the increase in net income that will result from a $50,000 increase in sales and a 1,000-unit increase in sales. 1. Total contribution margin: 2. Contribution margin ratio: 3....

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT