Question

Can someone help me develope a problem statement for the below problem? You have been tasked...

Can someone help me develope a problem statement for the below problem?

You have been tasked with writing a program for a hardware store. They sell home improvement supplies to employees, contractors and the general public. They have three different types of discounts. Employees get a 10% discount, orders over $800 get a 5% discount, and contractors get a 20% discount.  A customer can get only one discount but they may have an order over $800, be an employee and/or a contractor (or any combination) so you want to be sure to give them the largest discount they have earned and don’t ask them which of those they can be, because they can be all or none of them. The program will take in the total of the order, apply any discounts, apply 8% sales tax and come up with the final amount of the order. Customers over 90 years old do not have to pay sales tax.   They want to see the amount of the original order, the amount of any discounts, the subtotal, the amount of tax (zero for old people) and the final amount of the bill.  Make sure you not only get the correct answer but your code is efficiently written. Don’t ask unnecessary questions (ie don't ask them if they are employee if they are a contractor, that's already the highest discount) and pay attention to how you nest your if statements.

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:
Can someone help me develope a problem statement for the below problem? You have been tasked...
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
  • Many small businesses have to squeeze down costs any way they can just to survive. One...

    Many small businesses have to squeeze down costs any way they can just to survive. One way many businesses do this is by hiring workers as “independent contractors” rather than as regular employees. Unlike rules for regular employees, a business does not have to pay Social Security (FICA) taxes and unemployment insurance payments for independent contractors. Similarly, it does not have to withhold federal, state, or local income taxes or the employee’s share of FICA taxes. The IRS has a...

  • C++ Linked Lists You have been hired by Employees. Inc to write an employee management system....

    C++ Linked Lists You have been hired by Employees. Inc to write an employee management system. The following are your specifications: Write a program that uses the following linked lists: bullet empId: a linked list of seven long integers to hold employee identification numbers. The array should be initialized with the following numbers: 5658845 4520125 7895122 8777541 8451277 1302850 7580489 bullet hours: a linked list of seven integers to hold the number of hours worked by each employee bullet payRate:...

  • Salesure is a social media marketing startup. They have 10 employees working on a casual basis....

    Salesure is a social media marketing startup. They have 10 employees working on a casual basis. Being a small company, Salesure do not have resources to purchase professional payroll software. They have hired you to write a simple Python program that can work out the amount of tax to withhold from their employee salaries. Employees are payed fortnightly, and because of casual nature of the job each fortnight the payment is different. The amount of withheld tax depends on the...

  • Can someone help me with this problem? I have been struggling with Python 3 for a...

    Can someone help me with this problem? I have been struggling with Python 3 for a while now and not even the professor would help me solve this problem. I have to import a file called grades.csv and use error handling for a mid-semester report. please help me, I have been having trouble understand import csv. You don't have to check for errors or anything like that. I just have to display the mid-semester report This project will have you...

  • Can someone who knows how to draw data model on mySQL help me out? Budget car...

    Can someone who knows how to draw data model on mySQL help me out? Budget car rental company has offices located across the continental USA. They would like to track the local address ( all pieces address, state, city, zip),and the contact phone number for that office location. They would also like information about employees working at that office including their names, date of birth, start of employment, contract phone number, and roles. Offices typically have more than one employee...

  • Instructions The purpose of this assignment is to provide advice based on two fact patterns that...

    Instructions The purpose of this assignment is to provide advice based on two fact patterns that include several legal problems as they relate to collective bargaining and unions. Please read the following (two) scenarios and respond to the questions below: Scenario 1 A large company is planning to downsize. A consultant suggests the following: It makes sense to focus on one of your unionized plants. We suggest that you reduce the 300 employees at that plant to 100. Some of...

  • Can someone please show me how to solve this using excel? During the busy lunch period...

    Can someone please show me how to solve this using excel? During the busy lunch period at Café, customers arrive at the rate of 240 customers/hour. Studies have indicated that 20% of the customers order their lunch from the Grill, and 40% of customers get lunch from the Deli (the remaining 40% just get self-service items). All customers pay for their food at the cash register. On average, the grill-chef takes 45 seconds to serve a customer, the deli-chef takes...

  • Can someone please help me with this code? I'm writing in C++. Thank you in advance....

    Can someone please help me with this code? I'm writing in C++. Thank you in advance. Complete a program that represents a Magic Eight Ball (a Magic Eight Ball allows you to ask questions and receive one of several random answers). In order to complete this, you will need a couple of new functions. First, in order to get a line of input that can contain spaces, you cannot use cin, but instead will use getline: string question; cout <<...

  • In C++ Please please help.. Assignment 5 - Payroll Version 1.0 In this assignment you must create and use a struct to hold the general employee information for one employee. Ideally, you should use an...

    In C++ Please please help.. Assignment 5 - Payroll Version 1.0 In this assignment you must create and use a struct to hold the general employee information for one employee. Ideally, you should use an array of structs to hold the employee information for all employees. If you choose to declare a separate struct for each employee, I will not deduct any points. However, I strongly recommend that you use an array of structs. Be sure to read through Chapter...

  • Can someone help me with a summary of this case study! Thanks in Advance!! ETHICAL DILEMMA...

    Can someone help me with a summary of this case study! Thanks in Advance!! ETHICAL DILEMMA The Case of the Overly Assertive Employee In this chapter, we learned about several conflict-han- dling intentions. Each of these intentions involved two dimension-assertiveness (the degree to which one party attempts to satisfy his or her own concerns) and coop- erativeness (the degree to which one party attempts to satisfy the other party's concerns). Consider these dimen- sions, and then put yourself in the...

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