subject
Computers and Technology, 26.03.2020 16:49 Lived

You have been asked to write a program for a retail store that will allow them to calculate discounts for their employees when they buy items. Discounts are based on number of years worked as well as if the employee is a manager or hourly employee. They are also allowed no discount once they have received $200 in discounts for the year. INPUT The application must be able to collect the following "required" information for each employee: 1. Name (required) 2. Number of years employed (required, numeric, >0) 3. Total amount of previous purchases before discount (required, numeric, >0) 4. Employee status (employee or manager) 5. Total of today’s purchase OUTPUT There are two distinct areas required for output: 1. For each employee display the following: a. Name b. Employee discount percentage c. YTD Amount of discount in dollars d. Total purchase today before discount e. Employee discount this purchase f. Total with discount 2. Calculate the total for all employees for today’s date a. Total before discount for the day b. Total after discounts applied PROCESS Employee discount standard Years of Employment Management Hourly 1-3 Years 20% 10% 4-6 Years 24% 14% 7-10 Years 30% 20% 11-15 Years 35% 25% More than 15 Years 40% 30% YTD discount in dollars = total purchase before today * discount Employee discount this purchase: total purchase today * discount if < $200. If over $200 previously no discount. If less than $200 prior to today but today takes them over $200 then only allow the amount to get them to $200. Total with discount: Total * discount allowed COMMAND BUTTONS 1. Calculate-Calculates each employees total with discount and displays item # 1 above 2. Next Employee-clears the employee input so the next employee sale can be entered 3. Discount Summary-Displays the summary items from item # 2 above for all employees each day (daily totals) 4. Exit

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:30
You have a large, late-model pick-up truck with a rear seat. the pick-up truck weighs 6,500 pounds. the florida seat belt law
Answers: 1
question
Computers and Technology, 23.06.2019 02:00
In the context of an internet connection, llc stands for leased line connection liability limited company local loop complex local loop carrier
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
Which best compares appointments and events in outlook 2010appointments have a subject man, and events do notappointments have a specific date or range of dates, and events do notappointments have a start and end time of day, and events do notappointments have a location option, and events do not
Answers: 2
question
Computers and Technology, 23.06.2019 15:30
1. ask the user how many questions are in the quiz. 2. ask the user to enter the key (that is, the correct answers). there should be one answer for each question in the quiz, and each answer should be an integer. e.g., 34 7 13 100 81 3 9 10 321 12 might be the key for a 10-question quiz. you will need to store the key in an array. 3. ask the user to enter the answers for the quiz to be graded. there needs to be one answer for each question. note that these answers do not need to be stored; each answer can simply be compared to the key as it is entered. 4. when the user has entered all of the answers to be graded, print the number correct and the percent correct. 5. add a loop so that the user can grade any number of quizzes with a single key. after the results have been printed for each quiz, ask "grade another quiz? (y/n)." note: you only have one array (the key). you are not creating a new key for each set of quiz answers.
Answers: 3
You know the right answer?
You have been asked to write a program for a retail store that will allow them to calculate discount...
Questions
question
Biology, 18.10.2020 16:01
question
Mathematics, 18.10.2020 16:01
question
Arts, 18.10.2020 16:01
Questions on the website: 13722359